mirror of
https://ghproxy.net/https://github.com/AlxMedia/typecore.git
synced 2025-08-26 07:52:44 +08:00
Add esc_url to get_template_directory_uri, Add "Tested up to:" to style.css
This commit is contained in:
parent
ce66ff7cee
commit
e7c4d352cd
7 changed files with 7 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-large'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-small'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-small.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-small.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon small"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon small"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-standard'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-standard.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-standard.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('typecore-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder','on') == 'on' ): ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon small"><i class="fas fa-play"></i></span>'; ?>
|
||||
<?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon small"><i class="fas fa-volume-up"></i></span>'; ?>
|
||||
|
|
|
@ -4,6 +4,7 @@ Theme URI: http://alx.media/themes/typecore/
|
|||
Version: 1.2.4
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 5.5
|
||||
Description: <a href="http://alx.media/themes/typecore/">Typecore</a> is a responsive 100% high resolution theme for blogs and magazines. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited topbar, header, footer and accent colors, unlimited widget areas, 0-2 sidebars to the left or right that can be uniquely specified for each page or post, 300px / 220px fixed width sidebars, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured story or slider, 10 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features. Demo: http://demo.alx.media/x/?theme=Typecore
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alx.media
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue