• Resolved marniesigal

    (@marniesigal)


    Hi again!
    Another question! Keeping you busy today.
    Is there a short code i can use to display only certain categories on a grid?
    Currently i use: [directorist_all_categories]
    But would like to restrict to only a few categories displaying if possible. I’m doing this so I can neatly display the listings into local services vs tourist services
    I was thinking something like :[directorist_all_categories category=”accommodation”

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • aazztech

    (@aazztech)

    Hello,
    No problem at all! Please don’t hesitate to post your questions.
    No, there isn’t, but we are going to add a parameter to the shortcode using which it would be possible to display only certain categories. We will let you know when its available.

    Thread Starter marniesigal

    (@marniesigal)

    Thank you for your response! Will keep a look out 🙂

    We have added a new parameter called “slug” using which you can display certain categories, for an example, [directorist_all_categories slug=”accommodation”]. Please make sure that your are using latest version of Directorist.

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

The topic ‘Short Code to Display Certain Categories’ is closed to new replies.