• 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

Jane Theme – Homepage

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

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Jane Theme – Homepage

This topic is: not resolved

Tagged: home page, jane

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 11 months ago by AnitaC.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 14, 2013 at 10:47 am #79055
    mrhiking
    Member

    Hello -

    Probably a simple question but here's what I'm trying to do.

    Show 1 post on the homepage. I'm used to seeing a blog.php file in a theme and modifying that. In the Jane theme I don't see that file. How can I edit my home page. I want to add the author box, comments, and links to next and previous posts.

    Thanks!
    - Mike

    December 14, 2013 at 11:01 am #79059
    AnitaC
    Keymaster

    You would be looking at the home.php file. Are you trying to add one blog so that it shows the author box, comments and linkes to next and previous? Do you want the home page to only be your blogs?


    Need help with customization or troubleshooting? Reach out to me.

    December 14, 2013 at 11:05 am #79063
    mrhiking
    Member

    Yep. Pretty simple.

    Here is the current home.php. Any idea where/what I change?

    <?php
    
    add_action( 'genesis_meta', 'jane_home_genesis_meta' );
    /**
     * Add widget support for homepage.
     *
     */
    function jane_home_genesis_meta() {
    
    	if ( is_active_sidebar( 'slider' )) {
    	
    		add_action( 'genesis_before_loop', 'jane_home_loop_helper' );
    
    	}
    }
    
    /**
     * Display widget content for home slider section
     *
     */
    function jane_home_loop_helper() {
    
    	if ( is_active_sidebar( 'slider' )) {
    
    		echo '<div id="slider">';
    		echo '<div class="slider">';
    		dynamic_sidebar( 'slider' );
    		echo '</div><!-- end .slider -->';
    	        echo '</div><!-- end #slider -->';
    
    	}
    
    }
    
    genesis();
    December 14, 2013 at 11:22 am #79070
    AnitaC
    Keymaster

    By default, if you don't add anything to the widget areas, it will show your blog on the home page. But, it won't show the comment or author boxes. You'd have to add code to the functions.php file probably for that or directly in the home.php file. Using a static home page still will not give the comment or author boxes on the front page. I am looking to see if I can find a tutorial for you.


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 1:28 pm #80285
    killahfunkadelic
    Member

    I'm trying to limit the posts on the home page of Jane also-- but maybe 4-5 or so, not the 10 it seems to be showing by default.. Any ideas?

    December 19, 2013 at 1:31 pm #80289
    AnitaC
    Keymaster

    You may have to do it in two places. First go to Settings > Reading and change 10 to whatever number you want. If that doesn't fix it - then go to Genesis > Theme Settings and look at the archive settings.


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 1:41 pm #80293
    killahfunkadelic
    Member

    ding ding! it was the settings > reading one I missed. It also is only showing 5 posts now on the actual blog page, but i can live with that as long as it's not so many on the home page feed. thanks!

    December 19, 2013 at 1:42 pm #80294
    AnitaC
    Keymaster

    You're welcome!


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

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