Changeset 170902
- Timestamp:
- 11/06/2009 11:01:17 AM (16 years ago)
- Location:
- article-accordion/trunk
- Files:
-
- 2 edited
-
articleAccordion.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
article-accordion/trunk/articleAccordion.php
r149994 r170902 4 4 Plugin URI: http://fredpointzero.com/2009/08/plugin-wordpress-article-accordion/ 5 5 Description: Display categorie articles in an accordion sidebar widget 6 Version: 0.1. 16 Version: 0.1.2 7 7 Author: Frederic Vauchelles, Cathy Vauchelles 8 8 Author URI: http://fredpointzero.com … … 28 28 /// Constructor 29 29 private function __construct(){ 30 $this->dir = '/'.str_replace( ABSPATH, '', dirname( __FILE__ ) ); 30 31 /// Widget rendering initialization 31 add_action( 'init', array($this, 'init'));32 add_action( "plugins_loaded", array( $this, "widget_init" ) );32 add_action( 'init', array( $this, 'init' ) ); 33 add_action( "plugins_loaded", array( $this, "widget_init" ) ); 33 34 /// Admin initilization 34 35 if ( is_admin() ){ … … 47 48 wp_enqueue_script( 48 49 'jqueryui', 49 '/wp-content/plugins/articleAccordion/js/jquery-ui.js',50 $this->dir.'/js/jquery-ui.js', 50 51 array('jquery') 51 52 ); 52 53 wp_enqueue_script( 53 54 'articleAccordion.ready', 54 '/wp-content/plugins/articleAccordion/js/ready.js',55 $this->dir.'/js/ready.js', 55 56 array('jqueryui') 56 57 ); 57 58 wp_enqueue_style( 58 59 'jqueryui', 59 '/wp-content/plugins/articleAccordion/css/ui-theme/ui.all.css'60 $this->dir.'/css/ui-theme/ui.all.css' 60 61 ); 61 62 wp_enqueue_style( 62 63 'articleAccordion.style', 63 '/wp-content/plugins/articleAccordion/css/style.css'64 $this->dir.'/css/style.css' 64 65 ); 65 66 load_plugin_textdomain( 'articleaccordion', null, 'articleAccordion/lang'); -
article-accordion/trunk/readme.txt
r149994 r170902 4 4 Tags: article, accordion, categorie, widget 5 5 Requires at least: 2.8.3 6 Tested up to: 2.8. 37 Stable tag: 0.1. 16 Tested up to: 2.8.4 7 Stable tag: 0.1.2 8 8 9 9 Article Accordion display articles of seletected categories in an accordion. … … 47 47 == Changelog == 48 48 49 = 0.1.2 = 50 * Included file path are independant from the path of the directory where the plugin is. 51 49 52 = 0.1.1 = 50 53 * Object oriented code
Note: See TracChangeset
for help on using the changeset viewer.