mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 06:36:25 +08:00
Add esc_url to get_template_directory_uri, Add "Tested up to:" to style.css
This commit is contained in:
parent
c75c2317b3
commit
7a5527b9fb
5 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('blogrow-featured'); ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-featured.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-featured.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<div class="item-overlay">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('blogrow-medium'); ?>
|
||||
<?php else: ?>
|
||||
<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; ?>
|
||||
</a>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('blogrow-small'); ?>
|
||||
<?php else: ?>
|
||||
<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; ?>
|
||||
</a>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('blogrow-medium'); ?>
|
||||
<?php else: ?>
|
||||
<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/blogrow/
|
|||
Version: 1.1.6
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 5.5
|
||||
Description: <a href="http://alx.media/themes/blogrow/">Blogrow</a> is a responsive 100% high resolution theme for personal blogs. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-1 sidebars to the left or right that can be uniquely specified for each page or post, 300px fixed width sidebar, 0-4 footer widget columns, almost zero layout images, related posts and post nav, 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=Blogrow
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alx.media
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue