• 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

mercurialist

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
  • October 24, 2014 at 6:34 pm in reply to: Parallax Pro – Modify header and body width #129019
    mercurialist
    Member

    Thanks, Mary, for the compliment.

    Many apologies as it appears you spent lots of time on your reply. Unfortunately, those suggestions aren't helping me do what I'd like to do.

    Let's forget the 800px bit. I just want the width of the header content (title + navigation) to align with the width of the body content (i.e. so that the place where the words begin and end is the same on each side – I want the header content to be flush with the body content on both sides).

    Let's say – and this actually is true – I really like the current width of the body content. I'd like the header content to be the same width. How do I achieve this?

    May 23, 2014 at 5:15 pm in reply to: Add content before all posts in a category #106554
    mercurialist
    Member

    Update: I tried Brad's code using a different child theme (Parallax Pro). The code works just fine with this theme, and it's the theme I'll be using for my project. Thanks again, Brad!

    There must be an issue with the Apparition theme that prevents the hook from working.

    May 22, 2014 at 10:26 am in reply to: Add content before all posts in a category #106348
    mercurialist
    Member
    This reply has been marked as private.
    May 22, 2014 at 10:06 am in reply to: Add content before all posts in a category #106343
    mercurialist
    Member

    Yes, I saved the widget after populating it. I have experimented with a text widget, category widget, and the "meta" widget that displays meta content. Still nothing.

    It makes no sense to me why your code wouldn't work for me. Really weird.

    May 22, 2014 at 6:22 am in reply to: Add content before all posts in a category #106293
    mercurialist
    Member

    Lauren: I removed the conditional and it's the same problem. I see the widget area in "Appearance>>Widgets," but I nothing changes on the page when I actually place a widget there.

    Brad: Thanks for the code. I added it to my functions.php file, only changing the category slug. Same problem, though. Widget area appears in "Appearance>>Widgets," but nothing appears on the site when I actually add a widget.

    May 21, 2014 at 7:17 pm in reply to: Add content before all posts in a category #106243
    mercurialist
    Member

    Thanks for your help, Lauren. Unfortunately, it's still not working, although I may have missed something when implementing this. Here's the code that I placed in functions.php:

    //* Register before post widget area
    genesis_register_sidebar( array(
    	'id'            => 'before-post',
    	'name'          => __( 'Before Post', 'apparition' ),
    	'description'   => __( 'This is a widget area that can be placed after the post', 'apparition' ),
    ) );
    
    //* Hook before post widget area before post content
    add_action( 'genesis_entry_content', 'sp_before_post_widget' );
    	function sp_before_post_widget() {
    	if ( is_single() && in_category( 'old-blog' ))
    		genesis_widget_area( 'before-post', array(
    			'before' => '<div class="before-post widget-area">',
    			'after' => '</div>',
    	) );
    }

    The widget is registered, but when I add a text widget, enter some text, and save it, nothing changes.

  • 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