Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'genesis_entry_content', 'fn_show_featured_image_pages', 9 );
- function fn_show_featured_image_pages() {
- if ( ! is_page() ) {
- return;
- }
- if ( ! has_post_thumbnail() ) {
- return;
- }
- $image_args = array(
- 'size' => 'rs-featured',
- 'attr' => array(
- 'class' => 'alignnone featured',
- ),
- );
- genesis_image( $image_args );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement