Home › Forums › Winning Agent Pro Theme › Edit Listings Page
Tagged: full width, listings archive
- This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by
Ginger Coolidge.
- AuthorPosts
- April 9, 2015 at 7:15 pm #4483
Borussia
ParticipantHi all,
how can edit the /listings page? For Example if I do not want to show the sidebar on this page. I cannot find this page anywhere.
Thanks in advance,
Dirk - April 13, 2015 at 3:05 pm #4491
Ginger Coolidge
ParticipantHi Dirk
You can do this by creating and editing a template for the listings. I say create since the AgentPress Listings plugin doesn’t come with it’s own archive page template and the theme doesn’t have one for it (it’s defaulting to a core Genesis Framework template), so you can create one of your own. Follow the steps on this tutorial to create your template:
AgentPress Listings Search Results changed after WordPress 4.0 Update
The template file has only one entry beyond the header info:
genesis();
However, to accomplish what you want, add this ABOVE that
genesis();
entry:// Force full width content layout add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
Forcing it to full width will spread your content out and get rid of the sidebar at the same time.
Hope this helps!
- April 26, 2015 at 4:08 am #4500
Borussia
ParticipantHi Ginger,
sorry for the late reply.
Thanks for your advice, which works out perfectly.
Do you also know how I am able to edit this page? For example if I want it to look like this page:
I would like to have an overview page where all objects are listed with a little excerpt of the details and eventually also sorted by region/city.
Thanks a lot,
Dirk - April 26, 2015 at 10:17 am #4504
Ginger Coolidge
ParticipantHi Dirk,
That link is to a site that is using the AgentPress Pro theme from StudioPress which has it’s own heavily customized archive-listing.php page. As much as I like Winning Agent Pro, you might want to consider using that theme if that is the key component for you. Or, you can customize on your own the template you just created for Winning Agent Pro. Or, you might consider reaching out to a developer to assist. There would be the template changes and also quite a bit of CSS – styling changes.
If you’d like to research how to do it all on your own, I would start with searching on the phase “customize Genesis archive template” and you will get quite a few tutorials to choose from.
Best Regards,
Ginger
- AuthorPosts
- You must be logged in to reply to this topic.