• 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

greet

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 21, 2013 at 5:25 am in reply to: Adjust post layout education theme #42004
    greet
    Member

    This post gives my solution: http://www.studiopress.community/topic/add-content-to-first-page-of-genesis-blog-page-template/

    May 21, 2013 at 5:04 am in reply to: Add content to first page of genesis blog page template #42001
    greet
    Member

    I worked something out(inspired by Brad Dalton's code above)  that does what I was looking for. Since I'm just a beginner it might not be the best solution ...I added a page "blog_page.php" to my themes folder with the following code:

    <?php

    /**
    *
    * Template Name: Blog
    * This file handles blog post listings within a page.
    *
    */

    //START add page-content to first page of blogpage

    function add_content_blog_page() {
    global $paged;
    if( $paged < 1 ) {
    $page_id = $page->ID;
    $page_data = get_page( $page_id );
    if($page_data->post_content != ""){
    echo '<div class="content-box-blue">';
    echo apply_filters('the_content', $page_data->post_content);
    echo '</div>';
    }
    }
    };

    add_action ('genesis_before_loop', 'add_content_blog_page', 5 );

    //END add page-content to first page of blogpage

    genesis();

    April 17, 2013 at 1:42 am in reply to: Add content to first page of genesis blog page template #35905
    greet
    Member

    This would be a nice solution for the archive pages since I use genesis, but the pages where I would like to add content to the top of the first page is a 'blog' page and not an archive page.

    April 17, 2013 at 1:08 am in reply to: Add content to first page of genesis blog page template #35901
    greet
    Member

    But then the text is not editable ...
    What is the name of the plugin? I have been searching without any luck ...

    Thanks, Greet

    April 16, 2013 at 2:27 pm in reply to: Add content to first page of genesis blog page template #35819
    greet
    Member

    In the tutorial the folowing code puts the page content to the top of the blog-page:

    add_action('genesis_loop', 'genesis_standard_loop', 8);

    How can I extend this to only include this content on the first page and not on subsequent pages.

    The link to this page on my site  = http://preview.pain-ed.com/public/patient-stories/

    Thanks, Greet

    April 11, 2013 at 3:08 am in reply to: Secondary sidebar only for education theme #34692
    greet
    Member

    Great! Thanks a lot. I will dive into it 😉

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)

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