• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can I hook an image above the content on the blog page template

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How can I hook an image above the content on the blog page template

This topic is: not resolved

Tagged: adding, blog, hook, image, page, template

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 11 months ago by sebgates.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 5, 2014 at 8:04 am #113040
    sebgates
    Member

    Hi, I have successfully added a different image on separate pages in to genesis-after-header hook area. The images go above the main content. I have been able to add these images using conditional tags and page ID's but I am stuck on how to pull this off on the blog page template. Does anyone know how it can be done?

    http://Site in local DEV
    July 6, 2014 at 8:44 am #113130
    Brad Dalton
    Participant

    Try this near the end of the post http://wpsites.net/web-design/add-content-before-posts-blog-page-only/


    Tutorials for StudioPress Themes.

    July 6, 2014 at 12:51 pm #113141
    sebgates
    Member

    Thanks Brad. I had already read your blog post when I Googled the problem. I was trying to hook an image above the main content area. It seems the blog page template is hard to use Conditional Hooks on unlike the other templates in Genesis. I solved the problem using the Views plugin in the end by creating a short code for the blog page and adding it to a normal page template. Thanks for answering my question.

    July 7, 2014 at 12:56 am #113181
    Brad Dalton
    Participant

    I tested the solution yesterday and it worked perfectly so i added it to the post i linked to.


    Tutorials for StudioPress Themes.

    July 7, 2014 at 3:17 am #113190
    sebgates
    Member

    Thanks Brad, your a star. I will give your code a go.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble