WordPress.org

Make WordPress Themes


Ignore:
Location:
modernize/1.7.1
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • modernize/1.7.1/functions.php

    r78371 r78371  
    135135  wp_enqueue_style( 'modernize-style', $url . '/style.css' ); 
    136136 
    137   wp_enqueue_script( 'modernize-main', $url . '/js/bundle.js', array('jquery'), '1.0.0', true ); 
     137  if ( is_child_theme() ) { 
     138    wp_enqueue_style( get_stylesheet(), get_stylesheet_uri(), array( 'modernize-style' ), '1.7.1'); 
     139  } 
     140 
     141  wp_enqueue_script( 'modernize-main', $url . '/js/bundle.js', array('jquery'), '1.7.1', true ); 
    138142 
    139143  if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  • modernize/1.7.1/style.css

    r78371 r78371  
    55Author URI: https://profiles.wordpress.org/mismith227 
    66Description: Modernize is an modern, white, clean, beautiful WordPress theme 
    7 Version: 1.7.0 
     7Version: 1.7.1 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.