• 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

IamRob

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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 22, 2013 at 2:45 am in reply to: Modern Portfolio "About" widget #51813
    IamRob
    Member

    Ok, thank you very much Brad 🙂 you rock!

    July 21, 2013 at 2:47 pm in reply to: Modern Portfolio "About" widget #51748
    IamRob
    Member

    I putted the same code:

    <center>



    </center>

    Now I can see the logo, but I've to customized the background and I don't know where. I'd like to have exactly the same header of the home page.

    July 21, 2013 at 2:32 pm in reply to: Modern Portfolio "About" widget #51741
    IamRob
    Member

    Yes, I fixed the error but I'm probably did something wrong cause I can't see the widget in the about page (id page 278). If the code works as you said I should see the widget I thought.

    July 21, 2013 at 2:11 pm in reply to: Modern Portfolio "About" widget #51733
    IamRob
    Member

    mmm there's something wrong:

    "Parse error: syntax error, unexpected T_STRING in /web/htdocs/www.italianluxuryweddings.com/home/wordpress/wp-content/themes/modern-portfolio/functions.php on line 81"

    I can test online, this theme it's just an example. When it will works I'll replace the theme in my real domain 🙂

    Thank you 🙂

    July 21, 2013 at 1:50 pm in reply to: Modern Portfolio "About" widget #51727
    IamRob
    Member

    The page is: http://www.italianluxuryweddings.com/wordpress/about-me

    I think I wrote the right name inside the code.

    July 21, 2013 at 1:39 pm in reply to: Modern Portfolio "About" widget #51722
    IamRob
    Member

    Yes, I did.

    This is the website: http://www.italianluxuryweddings.com/wordpress/

    I'd like to have in every page the same header. The header with the logo and the image is the widget "ABOUT" of the Modern Portfolio Child Theme. I simply putted the logo inside the widget and changed the background of the #about section inside the style.css

    This is the code I added to the function.php page, but it doesn't works.

    genesis_register_sidebar( array(
    'id' => 'page-widget',
    'name' => __( 'Page Widget', 'wpsitesdotnet' ),
    'description' => __( 'Contact page widget.', 'wpsitesdotnet' )
    ) );
    /**
    * @author Brad Dalton - WP Sites
    * @example http://wp.me/p1lTu0-9Jr
    */
    add_action( 'genesis_after_header', 'wpsites_page_widget', 5 );
    function wpsites_page_widget() {
    if ( is_page('about-me') && is_active_sidebar( 'page-widget' ) ) {
    echo '<div class="widget">';
    dynamic_sidebar( 'page-widget' );
    echo '</div><!-- end .page-widget -->';

    }
    }

    July 21, 2013 at 1:00 pm in reply to: Modern Portfolio "About" widget #51717
    IamRob
    Member

    I tried but it doesn't works. The widget doesn't appear inside the page.

    July 21, 2013 at 4:46 am in reply to: Modern Portfolio "About" widget #51687
    IamRob
    Member

    Exactly! I'd like to have the same widget even inside a page I've created, not only in the home page.

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