Support » Plugin: Directorist - Business Directory Plugin » Sidebar on Listing Page

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AazzTech


    If you don’t use any widget on the sidebar, the sidebar will be disappeared automatically.



    Thank you for your response. I’m talking about the page’s sidebar though, not the listing sidebar. On other pages such as “all listings” I can edit the page and select “no sidebar” under “page layout.” I can’t find the “page” associated with the listing details. Or is there a setting somewhere else?



    Same here! 🙂

    Any answer on this??

    Plugin Author AazzTech


    Single listing takes the single post template to display, so its like a post not a page. The plugin has no control over the theme’s sidebar. We are planning to create a shortcode of the single listing so that the users can use it in a page and have more control. If there is no complications, you can expect it to be added this week.

    For the time being, you can hide the sidebar using CSS or copy the code below and paste it in your theme’s function.php file.

    add_action( 'wp_head', 'remove_active_sidebar');
    function remove_active_sidebar(){
        global $post, $wp_registered_sidebars;
        $current_post = $post->post_type;
        if (is_single() && ('at_biz_dir' === $current_post)) {
            foreach ($wp_registered_sidebars as $key => $value) {
                if ('right-sidebar-listing' !== $key) {



    Although this works in hiding the sidebar it doesn’t make the page full width which means there is always going to be an empty space there that can’t be accessed.

    if the page is taken from a post page then why can’t your plugin create a post page so that is can be edited by us instead of people paying money for a product that can’t be worked on making our sites unusable because of these pages.

    I would also like to add that your plugins setting tells us we can create a page and place the single listing shortcode into it which would presume that thee should be some sort of page control but yet this page we create is useless because your plugin pulls the single page from sitename/directory which doesn’t exist even though the page we created is the designated selected page within your plugins settings.


    • This reply was modified 5 months ago by phil1ooo.
    Plugin Author AazzTech


    There are some complications. We spent lots of time with it, but haven’t found any perfect solution. You won’t find any directory plugin that gives you complete control over the single listing page because of the complications. In recent updates, we added more control. Here is the details

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.