• 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

Static content on top of Blog Page

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 › Static content on top of Blog Page

This topic is: not resolved

Tagged: streamline pro

  • This topic has 12 replies, 4 voices, and was last updated 8 years, 6 months ago by torlowsi.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • September 15, 2014 at 12:57 pm #124539
    torlowsi
    Member

    Looking for some help. Have tried several suggestions from online so far and nothings working.

    I need to have a graphic above the blog posts on blog page. I've tried creating a blog page template as suggested, but that only makes the image show twice with the page title, instead of the header image and then the posts.

    I also tried adding a blog header widget area as suggested here (http://www.studiopress.community/topic/need-static-text-on-blog-page/) and neither are working.

    The most frustrating part is that I just successfully did this on another site last week, but now I can't get it to work. Any ideas? Please?

    http://kim.beyondtheoffice.net/blog/
    September 15, 2014 at 2:54 pm #124555
    JanHoek
    Participant

    Hi, did you try this tuts? http://wpsites.net/web-design/add-content-before-posts-blog-page-only/ I now this one is working because I tried it last week myself.


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    September 15, 2014 at 8:09 pm #124593
    torlowsi
    Member

    No luck. that's basically the first thing I tried. it's causing the page title and content to display twice but no blog posts.

    September 15, 2014 at 8:27 pm #124595
    Genesis Developer
    Member

    Are you using Genesis BLog page template? And where are you putting the static content for blog page?


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 15, 2014 at 8:44 pm #124599
    torlowsi
    Member

    If I use the default blog page template, I just get the page content. If I use a customized blog page template as recommended here (http://my.studiopress.com/snippets/blog-page-content/) or like above, I get the page title with static page content twice.

    September 15, 2014 at 9:27 pm #124606
    Genesis Developer
    Member

    Go to Reading Settings page ( Settings->Reading) and you'll get Front page displays section. Select the 'blog' page for posts page and save the changes. Now check the blog page. Let me know it is working or not


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 15, 2014 at 9:30 pm #124607
    torlowsi
    Member

    now i just get the blog posts - no static content at the top.

    September 15, 2014 at 9:37 pm #124608
    Genesis Developer
    Member

    Are you keep the php file name "page_blog.php" and follow the Genesis instruction(http://my.studiopress.com/snippets/blog-page-content/)


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 15, 2014 at 9:49 pm #124609
    torlowsi
    Member

    Yes. File name page_blog.php. Content is exactly as described in the post you linked. Blog page in Settings > reading set correctly. Still just see blog posts, no static content.

    As I said before, I know this method works because I just did it on another site recently and it went very smoothly. No idea why it's not cooperating here.

    September 15, 2014 at 10:26 pm #124610
    Genesis Developer
    Member

    I just tested the code in one of my dev site and it is working. I used following code in page_blog.php file and put in my child theme folder

    <?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_action( 'genesis_loop', 'genesis_standard_loop', 5 );
    
    genesis();

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 16, 2014 at 11:13 am #124685
    Brad Dalton
    Participant

    @torlowsi Check your code and make sure you're not using the

    genesis();

    closing tag twice.

    You may have it twice in the file or you may have it once in the file and another in a custom function in your functions file.


    Tutorials for StudioPress Themes.

    September 16, 2014 at 7:17 pm #124717
    torlowsi
    Member

    Nope, only on there once.

    Here's my Functions.php - http://pastebin.com/FsvTsFRt

    and blog template - http://pastebin.com/7Cu2QzKv

    September 16, 2014 at 8:44 pm #124722
    torlowsi
    Member

    could this be something in the server setup that's causing this?

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

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