Change name to Featureon

This commit is contained in:
Alexander Agnarson 2020-03-11 16:50:30 +01:00
parent 600ce12d26
commit 49be53b495
30 changed files with 594 additions and 594 deletions

View file

@ -4,7 +4,7 @@
<a class="featured-link" href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php if ( has_post_thumbnail() ): ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'magazinertwo-medium' ); ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'featureon-medium' ); ?>
<img src="<?php echo $image[0]; ?>" alt="<?php the_title_attribute(); ?>" />
<?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(); ?>" />