mirror of
https://ghproxy.net/https://github.com/AlxMedia/agnar.git
synced 2025-08-26 06:15:44 +08:00
Add esc_url to get_template_directory_uri, Add "Tested up to:" to style.css
This commit is contained in:
parent
18d8a80352
commit
1920cc6684
4 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('agnar-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder') !='off' ): ?>
|
||||
<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>'; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('agnar-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder') !='off' ): ?>
|
||||
<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('agnar-medium'); ?>
|
||||
<?php elseif ( get_theme_mod('placeholder') !='off' ): ?>
|
||||
<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/agnar/
|
|||
Version: 2.2.1
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 5.5
|
||||
Description: <a href="http://alx.media/themes/agnar/">Agnar</a> is a flexible theme for magazines and blogs. What makes it special is how well it scales all the way up to 1920px width and fill the entire screen beautifully, with a wall of visual posts.
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alx.media
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue