• 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

erickuhn19

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 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • November 10, 2013 at 8:39 pm in reply to: add widget area only above one page #72225
    erickuhn19
    Member

    Cool, I actually prefer it showing up on every page of the forum, so this works grrat for me. My next step is customizing the background of the widget so it matches the forum.

    November 10, 2013 at 2:55 pm in reply to: add widget area only above one page #72110
    erickuhn19
    Member

    Brad,
    Yes! This worked!

    Thank you.

    November 9, 2013 at 4:22 pm in reply to: add widget area only above one page #71904
    erickuhn19
    Member

    Brad,
    I want to thank you for all of your help. I just tested the code applying the widget to my "resources" page, so there must be a bug with this working with the bbpress.

    I really appreciate your help and patience.

    November 7, 2013 at 9:36 pm in reply to: add widget area only above one page #71615
    erickuhn19
    Member

    For some reason it is not working for me. Maybe because the bbpress forum is the content before it? Or something to do with the Agency-Pro theme.

    I have tried a few variations using your method as well as: http://www.carriedils.com/add-widget-area-below-nav/#comment-3320
    Both are similar but still a little different.

    Can you tell whats wrong with these?

    <p><script src="https://gist.github.com/erickuhn19/7365562.js"></script></p>

    <p><script src="https://gist.github.com/erickuhn19/7365906.js"></script></p>

    November 7, 2013 at 8:05 pm in reply to: add widget area only above one page #71602
    erickuhn19
    Member

    I see thanks for the information. OK, I got my Github working.

    Is page ID /forum or do I have to assign a number custom fields?

    <script src="https://gist.github.com/erickuhn19/7364210.js"></script>

    November 7, 2013 at 6:17 pm in reply to: add widget area only above one page #71574
    erickuhn19
    Member

    Sorry I didn't post that right:

    genesis_register_sidebar( array(
    'id' => 'before-loop',
    'name' => __( 'Front Page Slider', 'wpsites' ),
    'description' => __( 'This is the slider widget.', 'wpsites' ),
    ) );

    add_action( 'genesis_before_loop', 'wpsites_before_loop_widget' );
    function wpsites_before_loop_widget() {
    if (is_page ('forum') && is_active_sidebar('before-loop') ) {
    genesis_widget_area( 'before-loop', array(
    'before' => '<div class="before-loop">',
    'after' => '</div>',
    ) );

    }}

    November 7, 2013 at 6:07 pm in reply to: add widget area only above one page #71573
    erickuhn19
    Member

    Nevermind I figured out how to go into my hosting and edit the functions file from there.

    Can you tell what is wrong with my code that created that error

    <script src="https://github.com/erickuhn19/bbpress/blob/master/register%20widget%20in%20forum"></script>

    November 7, 2013 at 5:52 pm in reply to: add widget area only above one page #71571
    erickuhn19
    Member

    I'm not sure what happened but I am getting this error message:

    Parse error: syntax error, unexpected '(' in /home/content/85/11958585/html/wp-content/themes/agency-pro/functions.php on line 149

    And I cant get back into my WordPress editor at all...

    November 5, 2013 at 6:52 pm in reply to: What's the best forum in Genesis? #71156
    erickuhn19
    Member

    Anitac,

    Thanks for the info! What's the reason someone would use BuddyPress for? Does this forum or the quicksprout forum use BuddyPress too?

    October 30, 2013 at 11:24 am in reply to: Agency Pro-Help with adding Pages to featured post #69926
    erickuhn19
    Member

    So Sridhar posted two different methods on two different blog posts.

    How to show Featured Pages in Home Bottom section similar to Featured Posts in Agency Pro

    This is the description to have the look and feel like the demo from the home-middle. His code however still needs to be adjusted to home-middle, if that is where you want to put it. Its set up to be added for the home-bottom section. You will want to use this if you want to have a picture displayed and when you hover over the image the text appears. The image will still be some what visible from the background. Not all pictures look good with this setup.

    How to show Featured Pages instead of Posts in Home Bottom section of Agency Pro

    You will want to use this code to have the look and the feel of the home-bottom from the demo. This is not set up to show the featured image. This code also needs to be adjusted for "home-middle" if that is where you want the widget to be.

    Let me know if this helps.

    October 28, 2013 at 12:18 pm in reply to: Managing Multiple WordPress Sites #69490
    erickuhn19
    Member

    Andrea,

    Thanks, I will look into that.

    Does StudioPress give a specific endorsement to one of these companies?

    October 28, 2013 at 12:10 pm in reply to: Agency Pro-Help with adding Pages to featured post #69488
    erickuhn19
    Member

    Thanks sdbroker. I tried the code from the first reply and it worked. If my testing shows it doesn't respond well on different screens than I will test yours. Thanks for the input.

    October 28, 2013 at 12:08 pm in reply to: Agency Pro-Help with adding Pages to featured post #69486
    erickuhn19
    Member

    Tornado,

    I had the same thought when I just tried it a few minutes ago. I was trying to configure it for the home-middle widget, so if that is the case for you, then replace the word "bottom" with "middle". The code that Sridhar describes is for the home-bottom widget.

    This is the code I used and it worked for me:

    .agency-pro-home .content .home-middle .widget {
    width: 33.3333%;
    min-height: 260px;
    float: left;
    margin-bottom: 0;
    }

    .agency-pro-home .content .home-middle .widget:hover {
    background: #333;
    color: #fff;
    }

    .agency-pro-home .content .home-middle .widget .entry {
    background: transparent;
    }

    .agency-pro-home .content .home-middle .widget:hover .entry-title a {
    color: #fff;
    }


    @media
    only screen and (max-width: 1180px) {
    .agency-pro-home .content .home-middle .widget {
    min-height: 280px;
    }
    }


    @media
    only screen and (max-width: 1023px) {
    .agency-pro-home .content .home-middle .widget {
    width: 50%;
    min-height: 280px;
    }
    }


    @media
    only screen and (max-width: 680px) {
    .agency-pro-home .content .home-middle .widget {
    width: 100%;
    min-height: 0;
    }
    }

    October 27, 2013 at 9:12 pm in reply to: Agency Pro-Help with adding Pages to featured post #69379
    erickuhn19
    Member

    Thank you Andrea! This is exactly what I was looking for. I really appreciate your help.

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