• 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

support.jilladdison

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 21, 2015 at 2:30 pm in reply to: Adding Custom PHP Code #148717
    support.jilladdison
    Member

    That is a good question. The email address is coming from the previous page via a "post". I am using urlencode($_POST['emailaddr']); to get the email address. Unless I am missing something, it should be available.

    I usually put all my custom PHP code at the top of the page. Would it be better to move the code to later in the page?

    Thanks for your help.

    April 2, 2015 at 3:48 pm in reply to: Add blog posts to static home page #146500
    support.jilladdison
    Member

    I figured it out and wanted to post to anyone else wanting to do the same thing.

    I added the following to functions.php to create the new widget:

    genesis_register_sidebar( array(
    'id' => 'home-blog-list',
    'name' => __( 'Home - Blog List', 'streamline' ),
    'description' => __( 'This will appear on the home page below the content.', 'streamline' ),
    ) );

    In the widgets, I added Featured Post to this widget.

    In front-page.php for my child theme, I added the following:
    add_action( 'genesis_entry_content', 'home_blog_list');
    function home_blog_list() {
    genesis_widget_area( 'home-blog-list', array(
    'before' => '<div id="blog-list">',
    'after' => '</div>',
    ) );

    }

    Thank you to everyone who helped and provided information.

    April 1, 2015 at 6:18 pm in reply to: Add blog posts to static home page #146408
    support.jilladdison
    Member

    Sorry, did not mean to post this twice.

    April 1, 2015 at 6:17 pm in reply to: Add blog posts to static home page #146406
    support.jilladdison
    Member

    Thank you for your encouragement.

    I added a custom sidebar and added Genesis - Featured Posts to it. This worked fine.

    I am now trying to add the sidebar to the content area of my page. But it is not working. Following is my code. Do you see something wrong ?

    add_action( ‘genesis_entry_content’, ‘home_page_blog_list′,2 );
    function home_page_blog_list() {
    if( is_front_page() ) {
    genesis_widget_area( 'home-blog-list', array(
    'before' => '<div class="blog-intro"><div class="wrap">',
    'after' => '</div></div>',
    ) );
    }
    }

    March 13, 2015 at 3:35 pm in reply to: Streamline Pro – Opt-in form on Home page #144325
    support.jilladdison
    Member

    Thanks for your help. I tried copying the form, but the look is different.

    PHP - not a problem. However, since I just want to copy the look and feel, I don't think I should need PHP.

    How can I tell which plugin and specific CSS is being used for the form? I looked at the source for the page, but could not fine it.

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