Title: Custom single-trip template
Last modified: July 3, 2019

---

# Custom single-trip template

 *  Resolved [kword](https://wordpress.org/support/users/kw56/)
 * (@kw56)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/)
 * Hello,
 * 1. I need to add some custom fields (such as yandex map) and delete the secondary
   content. But I don’t want to make changes in single-trip.php file, it would be
   better to copy the template to my child theme and make my changes. Is it possible
   to override the single-trip template by custom one?
 * 2. Or how to add iframe or script content to custom trip info field?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [WP Travel Engine Support](https://wordpress.org/support/users/wptravelenginesupport/)
 * (@wptravelenginesupport)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/#post-11709310)
 * Hi [@kw56](https://wordpress.org/support/users/kw56/),
 * 1. Yes, it is possible to override the single-trip template using the child theme.
 * 2. We have a Trip Map Tab for Iframe. You can add the Yandex iframe Map through
   the Trip Map field. However, trip Info field doesn’t support iframe or scripts.
 * Thanks!
 *  Thread Starter [kword](https://wordpress.org/support/users/kw56/)
 * (@kw56)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/#post-11729163)
 * Thanks, I’ve develped my custom single-trip template. Can you advice how to add
   comments and social sharing?
 *  Plugin Support [WP Travel Engine Support](https://wordpress.org/support/users/wptravelenginesupport/)
 * (@wptravelenginesupport)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/#post-11734971)
 * Hi [@kw56](https://wordpress.org/support/users/kw56/),
 * You can call the comments template using the below code:
 * // If comments are open or we have at least one comment, load up the comment 
   template.
 *     ```
       if ( comments_open() || get_comments_number() ) {
              comments_template('', true);
       }
       ```
   
 * You can use any [social sharing plugins](https://wordpress.org/plugins/search/social+sharing/)
   for social sharing feature.
 * Thank You!
 *  Thread Starter [kword](https://wordpress.org/support/users/kw56/)
 * (@kw56)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/#post-11738726)
 * Thanks for your help, you are the best!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom single-trip template’ is closed to new replies.

 * ![](https://ps.w.org/wp-travel-engine/assets/icon-256x256.png?rev=3161831)
 * [WP Travel Engine - Tour Booking Plugin - Tour Operator Software](https://wordpress.org/plugins/wp-travel-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-travel-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-travel-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-travel-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-travel-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-travel-engine/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kword](https://wordpress.org/support/users/kw56/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/custom-single-trip-template/#post-11738726)
 * Status: resolved