WordPress.org

Make WordPress Themes

Changes from willow/1.0.7 at r81947 to willow/1.0.8 at r81947


Ignore:
Location:
willow/1.0.8
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • willow/1.0.8/functions.php

    r81947 r81947  
    11<?php 
    2 add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); 
    3 function theme_enqueue_styles() { 
    4   wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); 
    5 } 
    6  
    72//hooks 
    83add_filter( 'the_content' , 'willow_the_content_filter' ); 
     
    2318} 
    2419 
    25 function register_script(){ 
     20function willow_register_script(){ 
    2621    wp_register_script( 'willow', get_stylesheet_directory_uri() . '/js/willow.js', array( 'jquery' ), '', true); 
    2722} 
    28 function add_script() { 
    29     register_script(); 
     23function willow_add_script() { 
     24    willow_register_script(); 
    3025    wp_enqueue_script('willow'); 
     26    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); 
    3127} 
    32 add_action('wp_enqueue_scripts', 'add_script'); 
     28add_action('wp_enqueue_scripts', 'willow_add_script'); 
  • willow/1.0.8/header.php

    r81947 r81947  
    2525<div id="page" class="hfeed site"> 
    2626    <div class="site-inner"> 
    27         <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a> 
     27        <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'willow' ); ?></a> 
    2828 
    2929        <header id="masthead" class="site-header" role="banner"> 
     
    4343 
    4444                <?php if ( has_nav_menu( 'primary' ) || has_nav_menu( 'social' ) ) : ?> 
    45                     <button id="menu-toggle" class="menu-toggle"><?php _e( 'Menu', 'twentysixteen' ); ?></button> 
     45                    <button id="menu-toggle" class="menu-toggle"><?php _e( 'Menu', 'willow' ); ?></button> 
    4646 
    4747                    <div id="site-header-menu" class="site-header-menu"> 
    4848                        <?php if ( has_nav_menu( 'primary' ) ) : ?> 
    49                             <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php _e( 'Primary Menu', 'twentysixteen' ); ?>"> 
     49                            <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php _e( 'Primary Menu', 'willow' ); ?>"> 
    5050                                <?php 
    5151                                    wp_nav_menu( array( 
     
    5858 
    5959                        <?php if ( has_nav_menu( 'social' ) ) : ?> 
    60                             <nav id="social-navigation" class="social-navigation" role="navigation" aria-label="<?php _e( 'Social Links Menu', 'twentysixteen' ); ?>"> 
     60                            <nav id="social-navigation" class="social-navigation" role="navigation" aria-label="<?php _e( 'Social Links Menu', 'willow' ); ?>"> 
    6161                                <?php 
    6262                                    wp_nav_menu( array( 
  • willow/1.0.8/readme.txt

    r81947 r81947  
    11=== willow === 
    22Parent Theme: Twenty Sixteen 
    3 Version: 1.0.7 
     3Version: 1.0.8 
    44Author: Takuma Misumi 
    55Theme URI: 
     
    1010License: GPLv2 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     12 
     13The image used in screenshot of the theme is theme's author personal creation and is licensed under GPLv3 or later. 
    1214 
    1315== Description == 
  • willow/1.0.8/style.css

    r81947 r81947  
    55Author: Takuma Misumi 
    66Author URI: http://blog.mismithportfolio.com/ 
    7 Version: 1.0.7 
     7Version: 1.0.8 
    88Description: This theme extend default theme "Twenty Sixteen".In PC views,this theme exchange the article page columns in one column from two columns, and Photos in black and white. 
    99License: GNU General Public License v2 or later 
  • willow/1.0.8/template-parts/content-single.php

    r81947 r81947  
    2525 
    2626            wp_link_pages( array( 
    27                 'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>', 
     27                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'willow' ) . '</span>', 
    2828                'after'       => '</div>', 
    2929                'link_before' => '<span>', 
    3030                'link_after'  => '</span>', 
    31                 'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%', 
     31                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'willow' ) . ' </span>%', 
    3232                'separator'   => '<span class="screen-reader-text">, </span>', 
    3333            ) ); 
     
    4545                sprintf( 
    4646                    /* translators: %s: Name of current post */ 
    47                     __( 'Edit %s', 'twentysixteen' ), 
     47                    __( 'Edit %s', 'willow' ), 
    4848                    the_title( '<span class="screen-reader-text">', '</span>', false ) 
    4949                ), 
  • willow/1.0.8/template-parts/content.php

    r81947 r81947  
    1212    <header class="entry-header"> 
    1313        <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> 
    14             <span class="sticky-post"><?php _e( 'Featured', 'twentysixteen' ); ?></span> 
     14            <span class="sticky-post"><?php _e( 'Featured', 'willow' ); ?></span> 
    1515        <?php endif; ?> 
    1616 
     
    2626            /* translators: %s: Name of current post */ 
    2727            the_content( sprintf( 
    28                 __( 'Continue reading %s', 'twentysixteen' ), 
     28                __( 'Continue reading %s', 'willow' ), 
    2929                the_title( '<span class="screen-reader-text">"', '"</span>', false ) 
    3030            ) ); 
    3131 
    3232            wp_link_pages( array( 
    33                 'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>', 
     33                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'willow' ) . '</span>', 
    3434                'after'       => '</div>', 
    3535                'link_before' => '<span>', 
    3636                'link_after'  => '</span>', 
    37                 'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%', 
     37                'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'willow' ) . ' </span>%', 
    3838                'separator'   => '<span class="screen-reader-text">, </span>', 
    3939            ) ); 
     
    4747                sprintf( 
    4848                    /* translators: %s: Name of current post */ 
    49                     __( 'Edit %s', 'twentysixteen' ), 
     49                    __( 'Edit %s', 'willow' ), 
    5050                    the_title( '<span class="screen-reader-text">', '</span>', false ) 
    5151                ), 
Note: See TracChangeset for help on using the changeset viewer.