WP Listings sidebar missing
-
Hello – I am installed the WP Listings plugin on my WordPress website using the Avada theme.
Problem: I can’t get a sidebar to show up on the single listings page. I tried copying the file single-listing.php into wp-content/themes/Avada-Child-Theme and Avada folders. The code at the bottom of that file says:
<?php
get_sidebar( ‘content’ );
get_sidebar( ‘content’ );
get_footer();}
Under “Avada options” on the “Edit Listing” screen, I have selected a sidebar (Property Search), position: right, but it does not show up. It seems like there is space for a sidebar, but no content. Any tips?
http://lewisedc.com/wp-listings/listings/port-of-centralia/
Here is a page with an example of the correct sidebar – this one uses a different property listings plug-in: http://lewisedc.com/wordpress/commercial/axelson-building/
Thank you!
-
Your theme must be using a custom sidebar function. You’ll have to look at how your theme loads the sidebar and replace the get_sidebar() functions calls with the function calls that your theme uses for the sidebar.
Thank you for your response! I am having trouble finding a custom sidebar function in the theme (Avada), but will do some more digging.
My goal is to have the Property listing (http://lewisedc.com/wp-listings/listings/port-of-centralia/) look like a single blog post (http://lewisedc.com/wp-listings/blog-news/) — with a sidebar and Share This Page area below the listing.
The div id=”sidebar” is completely missing from the Property listing.
The topic ‘WP Listings sidebar missing’ is closed to new replies.