Title: Using only large image, not backstretch
Last modified: August 22, 2016

---

# Using only large image, not backstretch

 *  Resolved [anneBLD](https://wordpress.org/support/users/annebld/)
 * (@annebld)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/)
 * I see in the FAQ section that it is possible for all featured images to display
   in the post content area above the title and not as a “backstretch” image, but
   I don’t understand PHP well enough to be able to produce the code necessary to
   enter in the functions.php file. Could you please tell me exactly what to insert
   in the functions.php file? I would appreciate it very much!
 * [https://wordpress.org/plugins/display-featured-image-genesis/](https://wordpress.org/plugins/display-featured-image-genesis/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * (@littlerchicken)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884293)
 * You would want to take the example function and change the filter hook, so it
   would become something like this:
 *     ```
       add_filter( 'display_featured_image_genesis_use_large_image', 'rgc_use_large_image' );
       function rgc_use_large_image( $post_types ) {
           $post_types[] = 'post';
           $post_types[] = 'page';
   
           return $post_types;
       }
       ```
   
 * Each line of `$post_types[] = 'some_post_type';` would be whatever post types
   you want to have it use the large image on, so the above would be on all posts
   and pages. It should cover categories and tags as well, if you set featured images
   for those. Hope that helps–
 *  Thread Starter [anneBLD](https://wordpress.org/support/users/annebld/)
 * (@annebld)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884362)
 * Thanks for getting back to me so fast. I copied and pasted the code at the end
   of the functions.php file, but got the following error when I hit the update 
   file button:
 * Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in [ …my path ]/
   wp-content/themes/outreach-pro/functions.php on line 148
 *  Any ideas what that means?
 *  Plugin Author [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * (@littlerchicken)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884405)
 * Anne, I haven’t seen that one before. The filter/function work fine on my server.
   I’ve done some searching and the most consistent explanation I can find suggests
   that you may be on an old version of PHP, possibly because the filter is adding
   on to an array–there are other filters already in Outreach Pro, so filters in
   general do work.
 * Do you have any way to check what version of PHP you’re on? I’ll keep digging
   but that’s my guess so far. If it’s PHP 5.2 or lower, you would want to contact
   your host about updating that.
 *  Thread Starter [anneBLD](https://wordpress.org/support/users/annebld/)
 * (@annebld)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884417)
 * It worked when I made the change in Text Wrangler and uploaded it via cPanel 
   instead of making the change in WordPress Editor. So sorry for the extra work!
   Thank you for this great plugin!
 *  Plugin Author [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * (@littlerchicken)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884454)
 * Great, glad to hear you got it sorted! Yes, definitely better to edit outside
   the Editor. Thank you for letting me know!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Using only large image, not backstretch’ is closed to new replies.

 * ![](https://ps.w.org/display-featured-image-genesis/assets/icon-256x256.jpg?rev
   =995604)
 * [Display Featured Image for Genesis](https://wordpress.org/plugins/display-featured-image-genesis/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/display-featured-image-genesis/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/display-featured-image-genesis/)
 * [Active Topics](https://wordpress.org/support/plugin/display-featured-image-genesis/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-featured-image-genesis/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-featured-image-genesis/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [large image](https://wordpress.org/support/topic-tag/large-image/)

 * 5 replies
 * 2 participants
 * Last reply from: [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/using-only-large-image-not-backstretch/#post-5884454)
 * Status: resolved