Okay
  Public Ticket #2038756
Linking to a specific Service
Closed

Comments

  •  4
    damhnait started the conversation

    Hello,


    Is there a way to link to a specific service via a shortcode? For example; create a button to link to a specific service.


    Thanks a mill in advance

  •  1,769
    Miloš replied

    HI damhnait,

    Thank you for your purchase.

    Here’s the list of all our 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.

    Maybe for your case the shortcodes that you can use are

    1. [ameliabooking service=1] if you want to show the booking form for the service with ID 1.
    2. [ameliacatalog service=1] if you want to show this form for the service with ID 1,


    When you paste the shortcodes of those the ID of the service will be used, and only that service will be displayed.


    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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

  •  4
    damhnait replied

    Hi Bogdan,


    I know the shortcodes, those are not an issue. I was wondering if you knew a way to add a clickable link to a specific shortcode such as a button. Example:

    <a href="[ameliacatalog service=1]" class="service-1-button">SPORTS MASSAGE</a>

  •  1,769
    Miloš replied

    Hi damhnait,

    Sorry for misunderstanding.

    Unfortunately something like this can not be achieved at the moment.

    The workaround would be to make a page where you will put that shortcode and then you will put that link for that page in the URL.

    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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