WordPress.org

Make WordPress Themes

Changes from subtle/1.2 at r85658 to subtle/1.3 at r85658


Ignore:
Location:
subtle/1.3
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • subtle/1.3/functions.php

    r85658 r85658  
    148148        // Get the main stylesheet for the theme. 
    149149        wp_enqueue_style( 'stylesheet', get_stylesheet_uri() ); 
     150 
     151        wp_register_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js' ); 
     152 
     153        wp_enqueue_script( 'bootstrap-js' ); 
    150154         
    151155    } 
  • subtle/1.3/header.php

    r85658 r85658  
    5151    <?php endif; ?> 
    5252 
     53 
    5354    <?php wp_head(); ?> 
    5455    </head> 
     
    7576        <nav id="primary-navigation" class="navbar navbar-default" role="navigation"> 
    7677            <div class="container"> 
    77  
    78                 <div class="navbar-header"> 
    79                     <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> 
    80                         <span class="sr-only"><?php _e('Toggle navigation', 'subtle') ?></span> 
    81                         <span class="icon-bar"></span> 
    82                         <span class="icon-bar"></span> 
    83                         <span class="icon-bar"></span> 
    84                     </button> 
    85                 </div><!-- /navbar-header --> 
    86  
    87                 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> 
    88                     <?php TBM_Subtle::menu(); ?> 
    89                 </div><!-- /navbar-collapse --> 
    90  
     78                <?php TBM_Subtle::menu(); ?> 
    9179            </div><!-- /container --> 
    9280        </nav><!-- /navbar --> 
  • subtle/1.3/inc/php/TBM_Subtle.php

    r85658 r85658  
    1818            'theme_location' => $theme_location, 
    1919            'container' => '', 
    20             'menu_class' => 'collapse navbar-collapse menu', 
    21             'menu_id' => 'bs-example-navbar-collapse-1', 
     20            'menu_class' => 'menu', 
    2221            'items_wrap' => '<ul class="nav navbar-nav">%3$s</ul>', 
    2322        ); 
  • subtle/1.3/style.css

    r85658 r85658  
    22Theme Name: Subtle 
    33Theme URI: http://www.demo.xavortm.com/subtle 
    4 Version: 1.2 
     4Version: 1.3 
    55Author: Alexander Dimitrov 
    66Author URI: http://www.xavortm.com 
     
    229229} 
    230230 
    231 #primary-navigation a:hover { 
    232   background: #3c64be; 
    233 } 
    234  
    235 #primary-navigation .current { 
     231#primary-navigation a:hover, 
     232#primary-navigation .current_page_item { 
    236233  background: #3c64be; 
    237234} 
Note: See TracChangeset for help on using the changeset viewer.