WordPress.org

Make WordPress Themes

Changes from gildrest/1.0.2 at r86826 to gildrest/1.0.3 at r86826


Ignore:
Location:
gildrest
Files:
2 added
4 deleted
17 edited

Legend:

Unmodified
Added
Removed
  • gildrest/1.0.3/footer.php

    r86826 r86826  
    1111        <a href="<?php echo esc_url('https://wordpress.org/');?>" target="_blank"><?php esc_html_e('WordPress', 'gildrest');?></a> 
    1212        <?php esc_html_e('. Theme by ', 'gildrest');?> 
    13         <a href="<?php echo esc_url('https://rest.gild.design/');?>" target="_blank"><?php esc_html_e('Gild Themes', 'gildrest');?></a> 
     13        <a href="<?php echo esc_url('https://profiles.wordpress.org/shoyamane');?>" target="_blank"><?php esc_html_e('Gild Themes', 'gildrest');?></a> 
    1414      </p> 
    1515    </div> 
  • gildrest/1.0.3/functions.php

    r86826 r86826  
    11<?php 
    22 
    3 require_once locate_template('lib/init.php');        // 初期蚭定の関数 
    4 require_once locate_template('lib/cleanup.php');     // 䞍芁なモノを削陀する関数 
    5 require_once locate_template('lib/titles.php');      // タむトル出力の関数 
    6 require_once locate_template('lib/scripts.php');     // CSSやJavascript関連の関数 
    7 require_once locate_template('lib/widgets.php');     // サむドバヌ、りィゞェットの関数 
    8 require_once locate_template('lib/customizer.php');  // カスタマむザヌ 
    9 require_once locate_template('lib/comment-list.php');      // コメント 
    10 require_once locate_template('lib/custom.php');      // その他カスタマむズの関数 
     3require_once locate_template('lib/init.php'); 
     4require_once locate_template('lib/cleanup.php'); 
     5require_once locate_template('lib/scripts.php'); 
     6require_once locate_template('lib/widgets.php'); 
     7require_once locate_template('lib/customizer.php'); 
     8require_once locate_template('lib/comment-list.php'); 
  • gildrest/1.0.3/lib/scripts.php

    r86826 r86826  
    44    function gildrest_scripts() { 
    55        $the_theme = wp_get_theme(); 
    6         wp_enqueue_style('poppins', 'https://fonts.googleapis.com/css?family=Poppins:400,600,700', array()); 
     6        wp_enqueue_style('GoogleFont-Poppins-400-600-700', 'https://fonts.googleapis.com/css?family=Poppins:400,600,700', array()); 
    77        wp_enqueue_style('gildrest-styles', get_stylesheet_directory_uri() . '/dist/css/app.css', array(), $the_theme->get('Version')); 
    88        wp_enqueue_script('jquery'); 
  • gildrest/1.0.3/lib/widgets.php

    r86826 r86826  
    1616            'name'          => __('Bottom Widget', 'gildrest'), 
    1717            'id'            => 'sidebar-1', 
    18             'description'   => 'Bottom Widget area', 
     18            'description'   => __('Bottom Widget area', 'gildrest'), 
    1919            'before_widget' => '<aside id="%1$s" class="widget %2$s">', 
    2020            'after_widget'  => '</aside>', 
     
    2525} 
    2626add_action( 'widgets_init', 'gildrest_widgets_init' ); 
    27  
  • gildrest/1.0.3/readme.txt

    r86826 r86826  
    1515 
    1616## Copyright 
    17 The GildRest theme is 100% under the GNU General Public License v3.0. 
     17The GildRest WordPress Theme, Copyright 2017 Sho Yamane. 
     18The GildRest WordPress Theme is 100% under the GNU General Public License v3.0. 
    1819URL: http://www.gnu.org/licenses/gpl-3.0.html 
    1920 
  • gildrest/1.0.3/style.css

    r86826 r86826  
    44Author URI: https://profiles.wordpress.org/shoyamane 
    55Description: It is a WordPress theme for restaurant. 
    6 Version: 1.0.2 
     6Version: 1.0.3 
    77License: GNU General Public License v3 or later 
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html 
  • gildrest/1.0.3/template-parts/common/articles-none.php

    r86826 r86826  
     1<p><?php esc_html_e('No posts', 'gildrest'); ?></p> 
  • gildrest/1.0.3/template-parts/page/content.php

    r86826 r86826  
    1 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> 
     1  <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> 
    22 
    33  <?php if(has_post_thumbnail()) : ?> 
    44      <header class="post-header has-thumbnail"> 
    55      <div class="post-thumbnail"> 
    6         <?php echo get_the_post_thumbnail($post->ID, 'large'); ?> 
     6        <?php the_post_thumbnail($post->ID, 'large'); ?> 
    77      </div> 
    88  <?php else : ?> 
     
    2525        <?php the_content(); ?> 
    2626 
     27    <?php 
     28      wp_link_pages( array( 
     29        'before' => '<div class="post-links">', 
     30        'after'  => '</div>', 
     31        'link_before' => '<span>', 
     32        'link_after'  => '</span>', 
     33      ) ); 
     34        ?> 
     35 
    2736    </div> 
    2837 
  • gildrest/1.0.3/template-parts/single/content.php

    r86826 r86826  
    44      <header class="post-header has-thumbnail"> 
    55      <div class="post-thumbnail"> 
    6         <?php echo get_the_post_thumbnail($post->ID, 'large'); ?> 
     6        <?php the_post_thumbnail($post->ID, 'large'); ?> 
    77      </div> 
    88  <?php else : ?> 
Note: See TracChangeset for help on using the changeset viewer.