Support » Plugin: Display Featured Image for Genesis » Move to Genesis Before full with no wrapping

  • Can we move this to genesis_before WITHOUT site-container-wrap or site-inner. I want this to be a hero header. I have tried third-party scripts, which cause distortion on mobile due to resizing.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Sure, you can change the hooks to whatever you want, including options beyond what’s available on the settings page. You will need to use a filter, similar to what’s described here in the FAQ. Something like this should do what you want:

    
    add_filter( 'display_featured_image_move_backstretch_image', 'rgc_move_banner_image' );
    /**
     * Change the hook used to output the banner image for Display Featured Image for Genesis
     *
     * @return string
     */
    function rgc_move_banner_image() {
    	return 'genesis_before';
    }
    

    Hope that helps you get started.

Viewing 1 replies (of 1 total)
  • The topic ‘Move to Genesis Before full with no wrapping’ is closed to new replies.