Plugin Directory

Changeset 1259663


Ignore:
Timestamp:
10/05/2015 08:45:56 AM (10 years ago)
Author:
Studiofreya
Message:

bugfix

Location:
sf-bootstrap-menu/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sf-bootstrap-menu/trunk/css/style.css

    r1252004 r1259663  
    124124}
    125125
    126 .caret {
    127   float: right;
     126.sf-menu-caret {
     127  float: right; 
    128128  margin-right:10px;
    129129  margin-top: 12px;
  • sf-bootstrap-menu/trunk/readme.txt

    r1254101 r1259663  
    33Tags: child, pages, hierarchical, menu, sidebar, bootstrap, responsive, list
    44Requires at least: 3.8
    5 Tested up to: 4.3
     5Tested up to: 4.3.1
    66Stable tag: trunk
    77
  • sf-bootstrap-menu/trunk/sf-menu.php

    r1254101 r1259663  
    44 * Plugin URI: http://studiofreya.com/sf-bootstrap-menu
    55 * Description: Responsive menu for pages and posts with Bootstrap 3.0
    6  * Version: 1.2
     6 * Version: 1.2.1
    77 * Author: Studiofreya AS
    88 * Author URI: http://studiofreya.com
     
    2020
    2121function sf_menu_load_scripts() {
    22     wp_enqueue_style('sf_menu_style', plugins_url() . '/sf-bootstrap-menu/css/style.css' );
     22    wp_enqueue_style('sf_menu_style', plugin_dir_url( __FILE__ ) . 'css/style.css' );
    2323   
    2424    $bootstrap = 'bootstrap';
    2525    if( ( ! wp_style_is( $bootstrap, 'queue' ) ) && ( ! wp_style_is( $bootstrap, 'done' ) ) ) {
    26         wp_enqueue_style( $bootstrap, plugins_url() . '/sf-bootstrap-menu/css/bootstrap.min.css' );
     26        wp_enqueue_style( $bootstrap, plugin_dir_url( __FILE__ ) . 'css/bootstrap.min.css' );
    2727    }
    2828       
    2929    $style_font = 'font-awesome';
    3030    if( ( ! wp_style_is( $style_font, 'queue' ) ) && ( ! wp_style_is( $style_font, 'done' ) ) ) {
    31         wp_enqueue_style( $style_font, plugins_url() . '/sf-bootstrap-menu/css/font-awesome.min.css' );
     31        wp_enqueue_style( $style_font, plugin_dir_url( __FILE__ ) . 'css/font-awesome.min.css' );
    3232    }
    3333   
  • sf-bootstrap-menu/trunk/sf-navwalker.php

    r1242643 r1259663  
    5353    if( isset( $args['pages_with_children'][ $page->ID ] ) ) {
    5454        $css_class[] = 'collapsed';
    55     $arrow = "<span class='caret'></span>";
     55    $arrow = "<span class='caret sf-menu-caret'></span>";
    5656    $arrow_link=" data-toggle='collapse' data-target='#'";
    5757}
     
    6060        $_current_page = get_post( $current_page );
    6161        if ( in_array( $page->ID, $_current_page->ancestors ) ) {
    62         $arrow = "<span class='caret'></span>";
     62        $arrow = "<span class='caret sf-menu-caret'></span>";
    6363    }
    6464       
Note: See TracChangeset for help on using the changeset viewer.