WordPress.org

Make WordPress Themes

Changes from willow/1.0.2 at r81947 to willow/1.0.3 at r81947


Ignore:
Location:
willow/1.0.3
Files:
64 added
5 edited

Legend:

Unmodified
Added
Removed
  • willow/1.0.3/functions.php

    r81947 r81947  
    2222    return $content; 
    2323} 
     24 
     25function register_script(){ 
     26    wp_register_script( 'willow', get_stylesheet_directory_uri() . '/js/willow.js', array( 'jquery' ), '', true); 
     27} 
     28function add_script() { 
     29    register_script(); 
     30    wp_enqueue_script('willow'); 
     31} 
     32add_action('wp_enqueue_scripts', 'add_script'); 
  • willow/1.0.3/readme.txt

    r81947 r81947  
    11=== willow === 
    22Parent Theme: Twenty Sixteen 
    3 Version: 1.0.1 
     3Version: 1.0.3 
    44Author: Takuma Misumi 
    55Theme URI: 
  • willow/1.0.3/style.css

    r81947 r81947  
    55Author: Takuma Misumi 
    66Author URI: http://blog.mismithportfolio.com/ 
    7 Version: 1.0.2 
     7Version: 1.0.3 
    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 
     
    5959  z-index: 0; 
    6060  width: 100%; 
    61   height: 400px; 
     61  min-height: 400px; 
    6262  margin-bottom: 80px; 
    6363  overflow: hidden; 
     
    9494  top: 0; 
    9595  width: 100%; 
    96   height: 500px; 
     96  height: 100%; 
     97  min-height: 500px; 
    9798  overflow: hidden; 
    9899} 
     
    136137  .single-post .entry-header { 
    137138    width: 100.02%; 
    138     height: 500px; 
     139    min-height: 500px; 
    139140  } 
    140141  .single-post .post-thumbnail img { 
  • willow/1.0.3/template-parts/content-single.php

    r81947 r81947  
    5454    </footer><!-- .entry-footer --> 
    5555</article><!-- #post-## --> 
    56 <script> 
    57 window.onscroll = function (e) { 
    58     var scrollvalue = jQuery(window).scrollTop(); 
    59     jQuery(".single-post .post-thumbnail img").css("top", scrollvalue / 20 + 50 + "%"); 
    60 } 
    61 </script> 
Note: See TracChangeset for help on using the changeset viewer.