Easy Property Listings WordPress Real Estate Plugin › Forums › Basic Support › Single Property Page: Remove Everything Below Map
Tagged: theme, Theme setup, widget
- This topic has 10 replies, 2 voices, and was last updated 9 years, 5 months ago by
Merv Barrett.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
April 6, 2015 at 7:00 pm #7794
Rick5150
SpectatorI was trying to figure out how to do this as most of the files I see referenced in the tutorial are not part of my new theme.
The developed of the previous theme I was working with did not want to correct the CSS so I found the perfect theme for my clients business as a result. Before I populate everything, I want to get things running smoothly.
I am using the Frontier theme now and I was wondering if I can remove everything below the map and what it involved.
You can see the theme/page here:
http://mpvmanagement.com/current/rental/16-maple-street-apt-3-derry-nh-03038/Thanks!
-
This topic was modified 9 years, 5 months ago by
Rick5150.
April 6, 2015 at 8:38 pm #7801Rick5150
SpectatorI should mention that the specific items I want to delete below the map are:
- leave a reply
- pages
- archives
- categories
I just noticed that that pages, archives and categories show at the bottom of the search results as well, and if possible I would like to know which file needs to be modified to fix this, or whether it will be taken care of with the initial edit.
April 7, 2015 at 8:27 am #7805Merv Barrett
KeymasterThoes are WordPress widgets and not added by Easy Property Listings
April 7, 2015 at 6:57 pm #7809Rick5150
SpectatorThank you. Still, I do not understand why it is only showing on Easy Property Listing pages and nowhere else. I have tried all the other options for page templates and this does not show anywhere else. It is driving me crazy!
April 7, 2015 at 9:09 pm #7813Merv Barrett
Keymasterinside the template and your theme is a function called get_sidebar, comment it out and that should remove the sidebar. Every theme works differently.
April 8, 2015 at 6:59 am #7822Rick5150
SpectatorBy the way, I asked here because I received this response from the developer of the theme.
The widgets and the layout of your particular page doesn’t seem to be produced by the theme. I suspect they came from a plugin that you are using. You’d have better luck asking the plugin author on how to disable those widgets.
As for the “Leave a Reply”, that means that the particular post (looks like a custom post from a plugin) accepts comments which can easily be disabled.
https://codex.wordpress.org/Comments_in_WordPressNote: For normal widgets, you can always use Widget Logic to control where the widgets will appear.
I am not sure where to find the files needed to do this, but I will look around more later. Thank you.
April 8, 2015 at 7:35 pm #7834Rick5150
SpectatorThis is driving me nuts.
The problem is that I use the sidebar successfully on every other page to show a specific widget, so I do not want to comment the sidebar out.
Every other page on the site shows only one widget in the sidebar – the one I added. This single widget shows on every other page on the site and there is nothing else. It is only the property page and search page that show the extra ‘widgets’ but they are not showing in the widget editing page. The Easy Property Listing pages do not show the widget that I added that show on the other pages either.
Yet when I go to another theme, it is not there. So logic states that would indicate that it was a function of the theme and not the plugin.
On the other hand, the theme developer feels that since it only shows on the two real estate pages, it is a plugin issue, which may also make sense.
The archive page is fine because it is short code on a page I made called “RENTALS” with the default template chosen.
Once you click a property though, I don’t know where everything comes from. It directs to a page that shows in the browser navigation as “RENTAL” and I have no idea where to look for that.
These pages from has only the “search” field in the side bar, and the actual sidebar widget that I chose for the other pages does not show.
I was just going to go into the files and copy and rename the single.php file to single-listing.php to see if that worked as it did a great job in other themes for the most part, but of course there is no single.php file in the theme.
I just noticed this, and I believe it is significant.
The Frontier theme has the ability to be really flexible. You can have:
- no sidebar,
- a right sidebar,
- a left sidebar,
- one sidebar on each side,
- both sidebars on the left,
- both sidebars on the right,
It looks like the Easy Real Estate plugin is accessing the left sidebar, because the widgets that show are visible when I enable the left sidebar, which is not in use on my site. There are no widgets associated with the left sidebar in the widget editor.
April 8, 2015 at 9:37 pm #7841Merv Barrett
KeymasterIts due to not performing the initial setup of archive-listing.php and single-listing.php files
April 8, 2015 at 9:57 pm #7845Merv Barrett
KeymasterHere are the files you need to add to your theme folder.
April 8, 2015 at 11:33 pm #7851Rick5150
SpectatorMr. Barrett, that worked perfectly! Thank you.
I have renamed and edited those files for other themes, but as you saw they are not applicable here. Thank you for once again, going above and beyond…
Rick
April 9, 2015 at 1:36 pm #7875Merv Barrett
KeymasterGlad it worked for you.
-
This topic was modified 9 years, 5 months ago by
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘Basic Support’ is closed to new topics and replies.