• 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

Enterprise Pro Theme – Template FIle: page_blog.php

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 › General Discussion › Enterprise Pro Theme – Template FIle: page_blog.php

This topic is: not resolved

Tagged: blog page, Enterprise Pro

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by ken.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 25, 2014 at 9:39 am #120921
    ken
    Member

    Not able to show full post on blog template page http://www.mt2.sohtest.com/blog/ Post excerpts are showing correctly on category pages, but I need the post on /blog/ to show up ion its entirety.

    All help is appreciated!

    http://www.mt2.sohtest.com/blog/
    August 25, 2014 at 9:41 am #120923
    Brad Dalton
    Participant

    Try this and change the conditional tag http://wpsites.net/wordpress-themes/show-full-post-on-genesis-home-page-excerpts-on-all-archives/


    Tutorials for StudioPress Themes.

    August 25, 2014 at 10:32 am #120936
    ken
    Member

    Brad,
    This is what I am adding and it is not working. Is my coding off?

    add_filter( 'genesis_pre_get_option_content_archive', 'wpsites_full_content_home_page' );
    function wpsites_full_content_home_page( $opt ) {
    if ( is_page_template( 'page_blog.php' ) ) {
    return 'full';
    }
    }

    August 25, 2014 at 1:30 pm #120965
    ken
    Member

    Brad, To show you all that I did changed...

    PAGE_BLOG.PHP

    <?php
    /**
    * Genesis Framework.
    *
    * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
    * Please do all modifications in the form of a child theme.
    *
    * @package Genesis\Templates
    * @author StudioPress
    * @license GPL-2.0+
    * @link http://my.studiopress.com/themes/genesis/
    */

    //* Template Name: Blog

    //* The blog page loop logic is located in lib/structure/loops.php

    add_filter( 'genesis_pre_get_option_content_archive', 'wpsites_full_content_blog_page' );
    function wpsites_full_content_blog_page( $opt ) {
    return 'full';
    }

    genesis();

    ADDED TO FUNCTIONS

    add_filter( 'genesis_pre_get_option_content_archive', 'wpsites_full_content_blog_page' );
    function wpsites_full_content_blog_page( $opt ) {
    if ( is_page_template( 'page_blog.php' ) ) {
    return 'full';
    }
    }

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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