Support » Plugin: Webba Booking: Appointment & Event Booking Calendar Plugin » Display list of selected categories only

  • Resolved mdeganay

    (@mdeganay)


    Hello,

    I’d like to display a list with a selection of categories but not all of them.

    There’s the manal shortcode [webba_booking category_list=1] which displays all the categories, but is it possible to cut the list so only the ones I want to be displayed are available ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebbaPlugins

    (@webba-agency)

    Hello,

    Unfortunately, in the current version of Webba there is no such option.

    But it can be done using custom CSS. Please, send the list of category IDs so I can prepare the proper CSS code for your case. Category ID is the first column on the ‘Service categories’ page.

    Thread Starter mdeganay

    (@mdeganay)

    Thank you for your quick answer. I’d like to display category IDs 5 and 6, while ID 7 should not appear.

    Plugin Author WebbaPlugins

    (@webba-agency)

    The custom CSS code for your case is the following:

    #wbk-category-id option{
        display: none;
    }
    #wbk-category-id option[value="5"], #wbk-category-id option[value="6"]{
        display: inline-block;
    }

    You can add the code in the Appearance Customize section in the WordPress dashboard.

    Please, note: this code affect all pages. So if you need this to be applied only on a certain page, add the custom code only on these pages. The way to do that depends on a builder / editor you are using.

    If you have any questions, please let me know.

    Thread Starter mdeganay

    (@mdeganay)

    Works perfectly well. Efficient and responsive once again, many thanks!

    Plugin Author WebbaPlugins

    (@webba-agency)

    Glad I could help!

    If you have any other questions, feel free to create another topic.

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