• 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

Customizing Blog Page Overridden by Default Child Theme 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 › General Discussion › Customizing Blog Page Overridden by Default Child Theme Template

This topic is: not resolved

Tagged: blog, custom

  • This topic has 5 replies, 3 voices, and was last updated 10 years, 7 months ago by David Chu.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 18, 2013 at 9:30 am #36151
    mmi
    Member

    I'm trying to create a customized layout for my blog page.  I have put in my own versions of the page_blog.php and page_archive.php files into my child theme (Agentpress), but it seems to only default to the original Genesis or Agentpress layout and ignoring the customized page templates.

    I have read and followed the tutorial on how to create a custom blog: http://designsbynickthegeek.com/tutorials/creating-page-templates-in-genesis, but this does not seem to have any effect.

    Any help to this issue would be most appreciated.  Thanks!

    http://moodyrambin.mmidevsite2.com/about/news-media
    April 18, 2013 at 11:15 am #36166
    Anita
    Keymaster

    Layouts and templates are two different things. Are you trying to use the Layout that you see in the Layout area of each post/page? Or are you trying to use the drop down under the Page Template?


    Love coffee, chocolate and my Bella!

    April 18, 2013 at 12:52 pm #36187
    mmi
    Member

    I'm trying to use the drop down in the page template.  What's puzzling is that in the template I have developed, I have put in the remove_action code to take out some of the Genesis defaults, as well as adding in a customized body class and the blog and archive pages don't seem to be reading any of them.

    I even went so far as to erase the page_blog and page_archive templates out of the Genesis theme and even that did not seem to work.

    Ideas?

    April 18, 2013 at 1:08 pm #36193
    Anita
    Keymaster

    No, I have no idea. But I do recommend not modifying the Genesis Framework. Any changes you make in there will be overridden on updates. I'll send out a tweet on this.


    Love coffee, chocolate and my Bella!

    April 18, 2013 at 2:29 pm #36213
    mmi
    Member

    Thanks.  Any other help would be appreciated.

    April 18, 2013 at 3:16 pm #36226
    David Chu
    Participant

    Hi,
    Definitely hard to say without being hands-on. And messing with core Genesis files, as Anita said, is clearly asking for trouble, essentially voiding your warrantee. I'm guessing that you're a WordPress themer and someone handed you Genesis for the first time? 🙂

    I don't use Genesis-specific hooks and filters in separate template files. But that's just my preference for having things centralized and findable in functions.php. And as Nick shows, it can be done in the template fiiles if you'd like. The first obvious thing to check would be to see if you have Nick's genesis() "load the framework" line in there at the bottom?

    Another quickie test you can do to make sure you're evoking your template is to just do what I do when nothing seems to work, just echo something-or-other and run it to make sure you're hitting your code. Beyond that, possibly hands-on geek help needed.

    Good luck,
    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

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

© 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