Changeset 1259663
- Timestamp:
- 10/05/2015 08:45:56 AM (10 years ago)
- Location:
- sf-bootstrap-menu/trunk
- Files:
-
- 4 edited
-
css/style.css (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
sf-menu.php (modified) (2 diffs)
-
sf-navwalker.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sf-bootstrap-menu/trunk/css/style.css
r1252004 r1259663 124 124 } 125 125 126 . caret {127 float: right; 126 .sf-menu-caret { 127 float: right; 128 128 margin-right:10px; 129 129 margin-top: 12px; -
sf-bootstrap-menu/trunk/readme.txt
r1254101 r1259663 3 3 Tags: child, pages, hierarchical, menu, sidebar, bootstrap, responsive, list 4 4 Requires at least: 3.8 5 Tested up to: 4.3 5 Tested up to: 4.3.1 6 6 Stable tag: trunk 7 7 -
sf-bootstrap-menu/trunk/sf-menu.php
r1254101 r1259663 4 4 * Plugin URI: http://studiofreya.com/sf-bootstrap-menu 5 5 * Description: Responsive menu for pages and posts with Bootstrap 3.0 6 * Version: 1.2 6 * Version: 1.2.1 7 7 * Author: Studiofreya AS 8 8 * Author URI: http://studiofreya.com … … 20 20 21 21 function sf_menu_load_scripts() { 22 wp_enqueue_style('sf_menu_style', plugin s_url() . '/sf-bootstrap-menu/css/style.css' );22 wp_enqueue_style('sf_menu_style', plugin_dir_url( __FILE__ ) . 'css/style.css' ); 23 23 24 24 $bootstrap = 'bootstrap'; 25 25 if( ( ! wp_style_is( $bootstrap, 'queue' ) ) && ( ! wp_style_is( $bootstrap, 'done' ) ) ) { 26 wp_enqueue_style( $bootstrap, plugin s_url() . '/sf-bootstrap-menu/css/bootstrap.min.css' );26 wp_enqueue_style( $bootstrap, plugin_dir_url( __FILE__ ) . 'css/bootstrap.min.css' ); 27 27 } 28 28 29 29 $style_font = 'font-awesome'; 30 30 if( ( ! wp_style_is( $style_font, 'queue' ) ) && ( ! wp_style_is( $style_font, 'done' ) ) ) { 31 wp_enqueue_style( $style_font, plugin s_url() . '/sf-bootstrap-menu/css/font-awesome.min.css' );31 wp_enqueue_style( $style_font, plugin_dir_url( __FILE__ ) . 'css/font-awesome.min.css' ); 32 32 } 33 33 -
sf-bootstrap-menu/trunk/sf-navwalker.php
r1242643 r1259663 53 53 if( isset( $args['pages_with_children'][ $page->ID ] ) ) { 54 54 $css_class[] = 'collapsed'; 55 $arrow = "<span class='caret '></span>";55 $arrow = "<span class='caret sf-menu-caret'></span>"; 56 56 $arrow_link=" data-toggle='collapse' data-target='#'"; 57 57 } … … 60 60 $_current_page = get_post( $current_page ); 61 61 if ( in_array( $page->ID, $_current_page->ancestors ) ) { 62 $arrow = "<span class='caret '></span>";62 $arrow = "<span class='caret sf-menu-caret'></span>"; 63 63 } 64 64
Note: See TracChangeset
for help on using the changeset viewer.