• Resolved LennartW

    (@lennartw)


    Hi wish to use shortcodes on various parts of my site which only shows one listing.

    Since i can not make tag based shortcodes, I was thinking if i could make an individual catagory to each listing and this way i can make shortcodes based on this category containing only one listing. This just leaves me with a new problem and that is the fact that i do not want these catagories to be displayed anywhere on my website to end users.

    Please help me i cant figure out how to solve this problem and any help is much apriciatted:D

    https://wordpress.org/plugins/business-directory-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LennartW

    (@lennartw)

    I have found out that this:

    li.cat-item.cat-item-2077 {
    display: none;
    }

    (2077 beeing the category id)

    prevents the category in question in showing up on the main page. But when i click on advanced search the category still shows up in the drop down menu.

    does any one have any suggestions in how 2 fix this?

    Thread Starter LennartW

    (@lennartw)

    I hided the whole element in the advanced search widget.

    The biggest problem is actually that it also shows up in the discription of the listing. how do i hide this category without hidding all of them?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi LennartW,

    Sorry that you ran into issues here!

    Using the shortcode for displaying the listings for a single category and then forcing a single listing in that category is definitely the hard way to do this.

    We have it on our list to add a shortcode for a single listing. Let me see how hard it is and if we can add it to our next release due very soon.

    Thread Starter LennartW

    (@lennartw)

    Hi guys thanks for the feedback, and by the way I love your plugin which i strongly recommend to everyone who builds sites. Good to know that the issue is on the to-do list and I am looking forward to the next updates. Thank you for your time and help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide Category’ is closed to new replies.