Okay
  Public Ticket #2061754
Collaboration Request
Closed

Comments

  • dhillon5573 started the conversation

    Hi there, Id like to enquire how i can get the list of services and their respective ids to use in shortcodes. The same applies to the categories. Thank you.


    Hope you might be able to shed some light

  •  2,572
    Aleksandar replied

    Hi there.

    Thank you for your purchase.

    Like listed in our FAQ section, you can take a look at the shortcodes:

    1. For Step-by-Step Booking Wizard view:
      1. [ameliabooking] if you want to show the basic Step-by-step Booking wizard,
      2. [ameliabooking category=1] if you want to show only the services from a category with ID 1,
      3. [ameliabooking service=1] if you want to show the booking form for the service with ID 1.
      4. [ameliabooking employee=1] if you want to show the booking form for the employee with ID 1,
      5. [ameliabooking location=1] if you want to show the booking form for the location with ID 1,
      6. [ameliabooking category=1 employee=1] if you want to show only the services from a category with ID 1 that are assigned to the employee with ID 1,
      7. [ameliabooking category=1 location=1] if you want to show only the services from a category with ID 1 that are provided on the location with ID 1,
    2. For the Service Catalog view:
      1. [ameliacatalog] if you want to show the basic Service Catalog view,
      2. [ameliacatalog category=1] if you want to show only the services from a category with ID 1,
      3. [ameliacatalog service=1] if you want to show this form for the service with ID 1,
      4. [ameliacatalog employee=1] if you want to show the services of one specific employee with ID 1,
      5. [ameliacatalog location=1] if you want to show the services of one specific location with ID 1,
      6. [ameliacatalog category=1 employee=1] if you want to show only the services from a category with ID 1 that are assigned to the employee with ID 1,
      7. [ameliacatalog category=1 location=1] if you want to show only the services from a category with ID 1 that are provided on the location with ID 1,
    3. For the Search view:
      1. [ameliasearch] if you want to show the basic search view,
      2. [ameliasearch today=1] if you want to show the search view with a preselected current date.
    4. For the Event booking there is just one shortcode at the moment: [ameliaevents] that will show your events in the form of a list.

    The simplest way to view the IDs would be to go to the page creation screen, and add either a gutenberg block or a classic block. There you can see the IDs which would automatically be added if you click on them:

    1827105044.png

    I hope this helps.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables