services in the room page

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Andre Flores.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1022345
    Maria Sarantinou
    Participant

    How can I display the room’s services in the page?
    If I add the service widget it shows all of them and not the one available for that room/properties?

    thanks

    #1022534
    Andre Flores
    Moderator

    Hello Maria,

    You may use the [mphb_services] shortcode for this purpose, specifying exact services ID’s in it, so specific services are displayed on the page only, e.g.: [mphb_services ids=”26,31,35,40″]: https://prnt.sc/v8hb9p. You may get the service ID by hovering the service under Accommodation ->Services tab: https://prnt.sc/v8hc9o.

    Regards,
    Andre

    #1022573
    Maria Sarantinou
    Participant

    Hi Andre,

    I would need to call the services in the template file

    #1022928
    Andre Flores
    Moderator

    Hello Maria,

    You may add a shortcode to any template file, e.g.:

    echo do_shortcode( '[mphb_services ids="26,31,35,40"]' );

    For more information refer to this thread.

    Regards,
    Andre

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