• 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

Outreach – Can I add an image to the landing pages at top?

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 › Outreach – Can I add an image to the landing pages at top?

This topic is: not resolved
  • This topic has 10 replies, 2 voices, and was last updated 13 years ago by DarralynC.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 28, 2013 at 8:02 am #48210
    DarralynC
    Member

    I'm new to the website world and am using Outreach theme. I found a website that looks alot like Outreach with customization.
    Is there a way to had a "header image" to the outreach theme that can be different on the landing pages? Would I need to create a custom template? I also want to add linked jpg "buttons" on the sidebar.

    This is a sample: http://www.oakschristian.org/admissions/index.aspx of what I want it to look like.
    This is my site: http://ccsmain.carmeleducationalfoundation.org/?page_id=41

    Thanks for the help.

    June 28, 2013 at 7:24 pm #48319
    Brad Dalton
    Participant

    There's several ways to do this.

    You can use a plugin, CSS or PHP code.

    Change the conditional tag if needed.

    You could also use:

    if (is_page('007')  ) {
    

    Change the 007 to the page i.d of your landing page.


    Tutorials for StudioPress Themes.

    June 29, 2013 at 9:33 am #48367
    DarralynC
    Member

    Hi, Brad!
    Where do I paste this code you sent above?
    function add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header">wp-sites-logo.png</div>';
    };
    add_action('genesis_header', 'add_header_genesis');

    Will this allow me to add new image on each landing page?
    Thanks.

    June 29, 2013 at 7:35 pm #48447
    Brad Dalton
    Participant

    Please copy the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor.

    You will need to replace the HTML between the div tags with the HTML for your image.


    Tutorials for StudioPress Themes.

    June 29, 2013 at 8:20 pm #48452
    DarralynC
    Member

    Hi, Brad!
    I copied and pasted in the themes functions.php at the end. This is what I changed to...
    function add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header">wp-sites-logo.png</div>';
    };
    add_action('genesis_header', 'add_header_genesis');

    I didn't see any changes...What am I not doing?
    Thanks.

    June 29, 2013 at 8:23 pm #48456
    DarralynC
    Member

    Hi, Brad!
    Sorry...the whole code didn't copy -
    Changed to:
    function add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header">wp-sites-logo.png</div>';
    };
    add_action('genesis_header', 'add_header_genesis');

    What am I not doing? no changes.
    Thanks.

    June 29, 2013 at 8:31 pm #48458
    DarralynC
    Member

    Hi, Brad!
    Ifunction add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header">wp-sites-logo.png</div>';
    };
    add_action('genesis_header', 'add_header_genesis');function add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header">wp-sites-logo.png</div>';
    };
    add_action('genesis_header', 'add_header_genesis');

    June 29, 2013 at 8:32 pm #48459
    DarralynC
    Member

    `function add_header_genesis() {
    if ( is_page_template('page_landing.php') )
    echo '<div class="add-header"><a href="http://wp.me/a3HapT-2s"><img class="aligncenter size-full wp-image-32590" alt="wp-sites-logo.png" src="http://ccsmain.carmeleducationalfoundation.org/wp-content/uploads/2013/06/wp-sites-logo.png" width="1152" height="69" /></a></div>';
    };
    add_action('genesis_header', 'add_header_genesis');

    June 29, 2013 at 8:32 pm #48460
    DarralynC
    Member

    Hi, Brad.
    Finally got the code to paste...
    thanks.

    June 29, 2013 at 9:10 pm #48464
    Brad Dalton
    Participant

    Good stuff Darralyn. Please mark this as resolved.


    Tutorials for StudioPress Themes.

    June 30, 2013 at 8:45 pm #48607
    DarralynC
    Member

    Hi, Brad!
    Obviously, I have no idea what I am doing.
    this is what I got:
    http://ccsmain.carmeleducationalfoundation.org/?page_id=332 (landing page)

    this is the actual page template (it is a page template - not the landing page - I got these confused)
    http://ccsmain.carmeleducationalfoundation.org/?page_id=322

    this is what I want it to look like:
    http://www.oakschristian.org/grades_68/index.aspx

    header
    menu
    jpg (this is what I want to add)
    page layout (3 columns)

    Can you help?
    Thanks so much for your help already...I really appreciate it.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 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

© 2026 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