Changeset 818730
- Timestamp:
- 12/11/2013 08:20:07 AM (12 years ago)
- Location:
- projector
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
trunk/classes/class-msk-projector.php (modified) (3 diffs)
-
trunk/msk-projector-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
projector
-
Property
svn:ignore
set to
*.idea
*.rb
-
Property
svn:ignore
set to
-
projector/trunk/classes/class-msk-projector.php
r818713 r818730 19 19 add_action( 'init', array( $this, 'load_localisation' ), 0 ); 20 20 21 // Custom CSS in admin 21 // Load CSS on front-end 22 add_action( 'wp_enqueue_scripts', array( $this, 'front_custom_css' ) ); 23 24 // Load CSS on back-end 22 25 add_action( 'admin_enqueue_scripts', array( $this, 'admin_custom_css' ) ); 23 26 … … 25 28 add_filter( 'template_include', array( $this, 'load_wip_template' ) ); 26 29 27 add_action( 'msk_projector_before_outside_content', 'msk_projector_html_opening_container');28 add_action( 'msk_projector_after_outside_content', 'msk_projector_html_closing_container');30 add_action( 'msk_projector_before_outside_content', 'msk_projector_html_opening_container'); 31 add_action( 'msk_projector_after_outside_content', 'msk_projector_html_closing_container'); 29 32 } 30 33 … … 62 65 } 63 66 67 64 68 /** 65 * Load custom CSS on admin pages 69 * Load custom CSS on front-end 70 */ 71 public function front_custom_css() { 72 wp_enqueue_style('msk-projector', MSK_PROJECTOR_URL . 'assets/css/style.css', false, null); 73 } 74 75 76 /** 77 * Load single-msk_wip.php plugin or theme template file 66 78 */ 67 79 public function load_wip_template( $tpl ) { -
projector/trunk/msk-projector-filters.php
r818713 r818730 44 44 */ 45 45 function msk_projector_wip_item_title($title, $item) { 46 return '<h 3>' . $title . '</h3>';46 return '<h5>' . $title . '</h5>'; 47 47 } 48 48 add_filter('msk_projector_wip_item_title', 'msk_projector_wip_item_title', 10, 2);
Note: See TracChangeset
for help on using the changeset viewer.