Multiple but not all services for a service provider

I have a service provider that provides services 1,2,4,7 and 9 for example. How can I choose those multiple services here [app_monthly_schedule service="1" worker="6"]?

  • Tyler Postle

    Hey Dany,

    Welcome to the WPMU DEV Community! Thanks for your question.

    Currently there isn't a shortcode to show a calender for multiple services of 1 service provider; however, this is easily done with a bit of added CSS.

    For starters. We will show all services for the 1 service provider in a dropdown.

    Then we will use CSS to hide the options we don't want.

    This is what the shortcodes you need will look like:

    [app_services worker="6"]
    
    [app_monthly_schedule worker="6"]

    Then we will use this CSS to hide the service options you don't want showing:

    option[value="1"], option[value="2"] {
    display: none !important;
    }

    The numbers refer to the server ID's

    We will likely have to add a page ID in there too, so it only takes the options away on a specific page :slight_smile:

    You can paste that CSS into a plugin like this: https://wordpress.org/plugins/simple-custom-css/

    If you need a hand applying the CSS just let me know. More than happy to help!

    Look forward to hearing back.

    Cheers,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.