• Resolved Paolo

    (@palomar)


    Hi! (And thank you for the plugin!)

    In [templates/single-room.php] there’s a note at line 5: “Override this template by copying it to yourtheme/tp-hotel-booking/templates/single-product.php”.

    I’ve tried without success, but the only way to customize the template is editing the original file.

    Can you help me?

    Thank you,
    Paolo

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Thoa Kim

    (@thoakim)

    Hello

    You need to create child theme. In child theme, create folder tp-hotel-booking/templates/single-product.php and apply custom code in single-product.php.

    If you need any further help, post a topic at https://thimpress.com/forums/forum/plugins/wp-hotel-booking/

    Regards

    Thoa Kim

    Plugin Contributor Thoa Kim

    (@thoakim)

    Hi again,

    Sorry for the mistake. You need to create child theme. In child theme, create folder tp-hotel-booking/single-room.php and apply custom code in single-room.php.

    Regards

    Thoa Kim

    Thread Starter Paolo

    (@palomar)

    Thank you! The (second) solution is ok!

    Plugin Contributor Thoa Kim

    (@thoakim)

    Hi, I’m very glad when you could resolve your problem. We’re so grateful if you could please rate 5 stars for our plugin ??

    Thanks for your rating in advance.

    Regards

    Thoa Kim

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Override template (single-room)’ is closed to new replies.