• 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

Frank

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 20 posts - 1 through 20 (of 24 total)
1 2 →
  • Author
    Posts
  • April 15, 2015 at 10:55 am in reply to: Add widget after page in Whitespace theme #148024
    Frank
    Member

    Thanks again Christoph, the second link is exactly what I was looking for.

    Cheers 🙂

    April 15, 2015 at 5:15 am in reply to: Add widget after page in Whitespace theme #147974
    Frank
    Member

    Hi Christoph, thanks a lot for your reply. I couldn't get back to this before.

    I've followed the page you suggest and even though the new widget does appear in the dashboard, actual pages do not show any content. This is the code I have so far:

    //* Register widget area
    genesis_register_sidebar( array(
    	'id'            => 'after-page',
    	'name'          => __( 'After Page', 'themename' ),
    	'description'   => __( 'This the After Page widget area', 'themename' ),
    ) );
    
    //* Hook after post widget area after page content
    add_action( 'genesis_entry_footer', 'sp_after_page_widget' );
    	function sp_after_page_widget() {
    	if ( is_singular( 'page' ) )
    		genesis_widget_area( 'after-post', array(
    			'before' => '<div class="after-post widget-area">',
    			'after' => '</div>',
    	) );
    }

    Does that look right? I'm trying to have a widget specific for pages but it is not working.

    Does that have anything to do with this code I have in my functions file?

    //* Add support for after entry widget
    add_theme_support( 'genesis-after-entry-widget-area' );
    
    //* Relocate after entry widget
    remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' );
    add_action( 'genesis_after_entry', 'genesis_after_entry_widget_area', 5 );

    Also, posts have the after page widget working just fine.

    April 3, 2015 at 2:36 pm in reply to: AgentPress Pro "After Entry" Widget #146583
    Frank
    Member

    Hi, for some reason this is not working anymore.

    The new widget area does appear in the backend, but all widgets inside it do not appear in pages. Can anyone say how to fix this in the latest version of the theme?

    Thanks in advance!

    March 30, 2015 at 12:57 pm in reply to: Agency Pro background image only in Homepage #146175
    Frank
    Member

    Duh! You're right. It's ok now.

    Thanks a lot Christoph 🙂

    March 30, 2015 at 12:19 pm in reply to: Agency Pro background image only in Homepage #146161
    Frank
    Member

    Hello Christoph,

    Thanks for your reply but it seems the post may refer to a prior version of the theme or maybe I'm doing something wrong, because using method one, I get this error:

    Fatal error: Cannot redeclare agency_enqueue_backstretch_scripts() (previously declared in /wp-content/themes/agency-pro/functions.php:46) in /wp-content/themes/agency-pro/front-page.php on line 108

    And I'm not sure where the code from method 2 should be placed in the funstions.php file. I believe this second way to do it is best, so I would appreciate if you could explain it for the current version of the theme.

    Thanks!

    March 30, 2015 at 10:55 am in reply to: After entry widget area on pages, Metro Pro #146130
    Frank
    Member

    Thanks Chinmoy, I was wondering how to do this, regards.

    March 30, 2015 at 10:43 am in reply to: Agency Pro background image only in Homepage #146129
    Frank
    Member

    Nope 🙁 The SP support team told me to come here and ask, but as you see, there is no answer yet to the question.

    Can anyone tell us how to have the background image in the Agency pro theme to appear _only_ in the homepage?

    November 15, 2014 at 10:07 pm in reply to: Just another redesign… #131702
    Frank
    Member

    Hej Henrik,

    I like how your site looks. I really appreciate whitespace and the color you picked make it easy to see links and text. Right now there are some header images not appearing correctly in my browser, like in your "About" page, but I guess is part of the redesign.

    What I would add from a more traditional perspective, is an explicit "Services" page, so that people can easily see what you offer, maybe your rates and other useful information. Hope this helps.

    P.D. Just a few months ago I spent a few days in Stockholm while traveling to Oslo, and loved the city. Pelikan's meat balls were great too 😉

    Cheers!

    January 30, 2013 at 12:36 am in reply to: Balance Theme: display featured left & right widgets sitewide #16336
    Frank
    Member

    Neat & Plain indeed! That was the problem, and now it is solved.

    Thanks a lot Marco 🙂

    January 29, 2013 at 11:07 am in reply to: Balance Theme: display featured left & right widgets sitewide #16014
    Frank
    Member

    Hello and thanks a lot everyone 🙂

    @ cdils - commas are ok, but thanks; @ David - That's the only hook to genesis_after_content but thanks for pointing that out. Please look at the entire file to see if you can spot something else...

    @ surefirewebserv, @ Marco - Yep, I also believe the problem is in the syntax elsewhere in the functions.php file, so as you suggest Marco, I'm copying the code in here: http://pastie.org/5940942

    Thanks again

    January 25, 2013 at 7:12 pm in reply to: Balance Theme: display featured left & right widgets sitewide #14923
    Frank
    Member

    Hello anybody?

    Any help will be greatly appreciated

    January 24, 2013 at 1:53 pm in reply to: Balance Theme: display featured left & right widgets sitewide #14381
    Frank
    Member

    Nope! Still having problems here.

    I've deleted the conditionals, added the closing curly brace and also corrected the hook where I want the widget to appear, but when pasting it to my functions.php file, it still causes the same 500 Error.

    This is the latest code...
    http://pastie.org/5850228

    Thanks for all your help!

    January 24, 2013 at 11:39 am in reply to: Balance Theme: display featured left & right widgets sitewide #14341
    Frank
    Member

    After looking at the original code, but trying to display it in the entire site, I came with this code
    http://pastie.org/5849119
    ...but it is causing a Error 500 (Internal Server Error).

    I know my syntax is wrong, although I can't tell where/why.

    Can you check it out and help me correct it?

    January 24, 2013 at 11:02 am in reply to: Balance Theme: display featured left & right widgets sitewide #14334
    Frank
    Member

    Understood. I tried to paste the code in my functions.php file but a syntax error appeared, as I don't really know the language.

    Can you tell me what the code should look like following this new page:
    http://pastie.org/private/vqblajaqfafxj3rl8e6k0g

    I pasted exactly like this and the error appeared.

    1. What do I need to change to this code to work?
    2. Will this code make both widgets to appear in the entire site?

    January 24, 2013 at 1:15 am in reply to: Balance Theme: display featured left & right widgets sitewide #14256
    Frank
    Member

    This may be easier to read: http://pastie.org/private/vefkvflxxxrxwfym1z3ja

    Regards

    January 24, 2013 at 1:12 am in reply to: Balance Theme: display featured left & right widgets sitewide #14254
    Frank
    Member

    Thanks Sozo,

    I'm using front-page.php instead and I can't get the code to work yet. Can you please tell me what to change in here to have both widgets to appear sitewide?

    This is the current code:


    <?php

    add_action( 'genesis_meta', 'balance_home_genesis_meta' );
    /**
    * Add widget support for homepage.
    *
    */
    function balance_home_genesis_meta() {

    if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {

    add_action( 'genesis_after_header', 'balance_home_loop_helper' );

    }
    }

    /**
    * Display widget content for home featured sections.
    *
    */
    function balance_home_loop_helper() {

    if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {

    echo '';

    echo '';
    dynamic_sidebar( 'home-featured-left' );
    echo '';

    echo '';
    dynamic_sidebar( 'home-featured-right' );
    echo '';

    echo '';

    }

    }

    genesis();

    Regards

    January 13, 2013 at 10:16 am in reply to: Blocked divs in Balance theme #11590
    Frank
    Member

    Yep, that was it Jen! 😀

    Have a great day and thanks again for all your valuable help.

    January 12, 2013 at 10:48 am in reply to: Create widgets specific for archives and pages #11458
    Frank
    Member

    Hello Jen,

    I finally managed to have the widget as I want it, thanks a lot for your help 🙂

    For those looking to add a widget area to pages and archives, this is the final code I'm now using:
    http://pastie.org/5674365

    As the widget still appears in all pages and the homepage, I'm using the "Conditional widgets" plugin to delete it from more specific places.

    January 2, 2013 at 9:15 am in reply to: Create widgets specific for archives and pages #8939
    Frank
    Member

    Hello? Can anybody help me?

    With the code above I cannot have new widgets for both archives and pages yet.

    Thanks in advance.

    December 23, 2012 at 12:21 am in reply to: Create widgets specific for archives and pages #7102
    Frank
    Member

    Also, every time I post something, the next page is a 404 error 🙁

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 24 total)
1 2 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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