• 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

Agentpress – Changing Home Widget Page to Sub-Page

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 › Agentpress – Changing Home Widget Page to Sub-Page

This topic is: resolved

Tagged: Agentpress, default home, home.php, widget page

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by robertsjg.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 24, 2013 at 4:54 pm #14439
    robertsjg
    Member

    I am trying to change the default setup for Agentpress such that the default home page - which contains MLS listings - get's displayed on a different page of the site.

    My goal is to have a static home page with some specific information and actions, and then have the widgetized listing page on a different page of the site - ie.  site.com/listings

    What I have done is to take the home.php and add this to the top:
    <?php
    /*
    Template Name: Listings Page
    */
    ?>
    Then I simply created a page, set the template to Listings Page, thus providing the widget MLS listings page on a page of my designation.

    The problem I am having is that the page is not formatting correctly.  It get's cut off on the right side by a few pixels, and most of the widgets don't display properly.  I can add widgets to this page, and have attempted to set it up like the default Agentpress, but what is happening is that in each section only 1 element to the widget is displaying.

    Here is the page to make it clear:  http://kariscott.wpengine.com/test-listings

    There should be multiple communities and featured listings, but only one of each is displayed - and you can see at the top that the right edge is cut off a little bit.

    I'm hoping someone out there has done what I am trying to do.

    January 24, 2013 at 5:00 pm #14443
    SoZo
    Member

    You need to go through all the rules in the style sheet with ".home" in the selectors and replace that with the body class of the page you are using the template on.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 24, 2013 at 5:15 pm #14450
    robertsjg
    Member

    Ah cool thanks!  If you don't mind my ignorance, could you clarify what exactly the 'body class' is?

    thanks

    January 24, 2013 at 8:40 pm #14518
    robertsjg
    Member

    awesome i figured it out!  ended up just adding a custom body class in the layout settings of the page to make it easier then changing .home in each spot as you said.

     

    Thanks 🙂

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