Normally genesis_get_image() is fetching the first image if you are not setting any featured image for your post. But sometime we are not wanting this default option. Using this simple code you can disable this: add_filter( ‘genesis_get_image_default_args’, ‘gd_show_only_assigned_featured_image’ ); function gd_show_only_assigned_featured_image( $args ){ $args[‘fallback’] = ‘no-attachment’; // By Default it is ‘first-attached’ return $args; }
featured image
Custom Header Images on Pages – Parallax Pro Theme
Here was the original request on SP forums: I used Sridhar Katakam’s tutorial on relocating entry title headers but I want to make these headers images rather than text. The person who initial responded to my questions said this: I amended the CSS to display scaling background images to create full width, applying the page-id-xx… Continue Reading
Displaying Backstretch Featured Image on Blog or Archive page in Genesis
First upload the backstretch.js and theme-script.js file in js folder of your child theme. Here is the script of theme-script.js file jQuery(function( $ ){ $( “main.content .post .entry-image” ).each( function(){ var post_image = $(this).data( “entry-img” ); $(this).backstretch([BackStretchImg]=post_image,{duration:3000,fade:750}); }); }); Add the following code in your functions.php file: add_action( ‘wp_enqueue_scripts’, ‘enqueue_bs_script’ ); function enqueue_bs_script() { wp_enqueue_script(… Continue Reading