Insert class in each rooms of 'mphb_rooms' shortcode

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Insert class in each rooms of 'mphb_rooms' shortcode

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #719717
    Weerayut Chalaruk
    Participant

    Hi there,

    I want to insert class in each rooms by use mphb_rooms shortcode. I add parameter class after shortcode but it appear in outer div. How can I insert class ?

    #721423
    J. Davis
    Keymaster

    Hi Weerayut,

    You can modify output of [mphb_rooms] shortcode by overriding the following file

    \wp-content\plugins\motopress-hotel-booking\templates\shortcodes\rooms\room-content.php

    Thus you can add custom class for each room type withing listing.

    best regards,
    John

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