Skip to content
WP Travel Kit – Documentation

WP Travel Kit – Documentation

Create a Travel WordPress Site

  • Homepage
Get Travelscape Pro
WP Travel Kit – Documentation

WP Travel Kit – Documentation

Create a Travel WordPress Site

  • Homepage
Get Travelscape Pro
WP Travel Kit – Documentation

WP Travel Kit – Documentation

Create a Travel WordPress Site

  • Homepage
[email protected]
Get Travelscape Pro

General

1
  • WordPress Requirements & Checklist

WordPress Themes

5
  • Travelscape
    • Introduction – Travelscape WordPress Theme
    • How to Install Travelscape WordPress Theme
    • Customize Site Header
    • Customize Site Footer
    • Setup Static Homepage

Travelscape Pro

17
  • Install and Activate Travelscape Pro
  • Install and Activate the Travelscape Pro license
  • Import Starter Templates
  • Font Settings
  • Color Settings
  • Site Header
    • Site Identity
    • Social Networks
    • Header Layouts
    • Mobile Header
  • Site Footer
    • Footer Widgets Area
    • Copyright Area
  • SEO Settings
    • Breadcrumbs
  • General Settings
    • Site Container
    • Sidebars
    • Notification Bar
    • Custom Pagination
    • Scroll To Top

Demo Importer Plus

1
  • Demo Import (Instantly Make Website Like Demo)

Getting Started

3
  • First Steps After a WordPress Theme Installation
  • System Requirements for Optimal Performance
  • How to Install Your New WordPress Theme?

Security

6
  • Monitoring Your Site for Malware
  • Detailed Guide on Backing Up Your WordPress Site
  • Regular Maintenance for Site Security
  • How to Secure Your WordPress Login Page
  • Recommended Security Plugins for WordPress
  • Security Best Practices for WordPress

Trip Reviews

6
  • Trip Reviews – Complete Guide
  • [trip_rating_summary] Shortcode
  • [trip_review_list] Shortcode
  • [trip_review_form] Shortcode
  • [trip_reviews_gallery] Shortcode
  • [trip_reviews] Shortcode
  • Home
  • Docs
  • Trip Reviews
  • [trip_review_form] Shortcode
View Categories

[trip_review_form] Shortcode

The Trip Review Form shortcode allows you to place a review submission form anywhere on your WordPress site, enabling guests to easily leave feedback about their travel experiences. Visitors can rate their trip, write detailed reviews, and optionally upload photos.

Basic Usage #

To add a review form to a page or post, insert the shortcode:

[trip_review_form trip_id="1234"]

Replace 1234 with the ID number of the trip you want visitors to review.

Important: The trip_id option is required unless you place the form directly on a trip’s page, where it will automatically detect the current trip.


Available Options #

You can customize which fields appear in the form by adding options to the shortcode. This allows you to create simple or detailed review forms depending on your needs.

Trip Selection #

trip_id – Specify which trip the review is for.

  • Format: trip_id="1234" (use the trip’s ID number)
  • Default: Auto-detects the current trip when used on a trip page
  • When to use: Always include this option when placing the form on pages other than the trip’s own page
  • Why it’s important: This tells the form which trip the review should be associated with

Example:

[trip_review_form trip_id="2487"]

Form Field Controls #

show_title – Toggle the review title field.

  • Options: true or false
  • Default: true
  • What it does: When set to true, displays a text field where reviewers can enter a headline for their review (e.g., “Amazing adventure in the Alps!”). Set to false to remove this field and simplify the form.

Example:

[trip_review_form trip_id="2487" show_title="false"]

show_rating – Toggle star rating pickers.

  • Options: true or false
  • Default: true
  • What it does: When set to true, displays interactive star rating controls where reviewers can rate their experience. Set to false to hide the rating system.

Example:

[trip_review_form trip_id="2487" show_rating="false"]

show_content – Toggle the main review text box.

  • Options: true or false
  • Default: true
  • What it does: When set to true, displays the main text area where reviewers write their detailed feedback. Set to false to hide this field (useful if you only want ratings or photo submissions).

Example:

[trip_review_form trip_id="2487" show_content="false"]

show_images – Allow photo uploads.

  • Options: true or false
  • Default: true
  • What it does: When set to true, reviewers can upload photos from their trip alongside their written review. Set to false to disable photo uploads and keep reviews text-only.

Example:

[trip_review_form trip_id="2487" show_images="false"]

show_name – Toggle the name field.

  • Options: true or false
  • Default: true
  • What it does: When set to true, displays a field where reviewers enter their name. Set to false to hide this field (useful for anonymous review collection).

Example:

[trip_review_form trip_id="2487" show_name="false"]

show_email – Toggle the email field.

  • Options: true or false
  • Default: true
  • What it does: When set to true, displays a field where reviewers enter their email address. Set to false to hide this field and skip email collection.

Example:

[trip_review_form trip_id="2487" show_email="false"]

Styling Options #

class – Add a custom CSS class to the form wrapper.

  • Format: class="your-class-name"
  • Default: tre-review-form-shortcode
  • When to use: When you want to apply custom styling to a specific review form
  • What it does: Appends your chosen class name to the form container, allowing you to target it with CSS

Example:

[trip_review_form trip_id="2487" class="compact-review-form"]

Complete Example #

Here’s a fully customized shortcode that creates a simplified review form:

[trip_review_form trip_id="2487" show_images="false" class="compact-review-form"]

This shortcode:

  • Links the form to trip #2487
  • Disables photo uploads for a faster, simpler submission process
  • Applies the “compact-review-form” CSS class for custom styling
  • Keeps all other fields (title, rating, content, name, email) visible by default

Custom Styling Example #

You can style your review form by adding CSS to your theme. Here’s an example that creates a clean, modern form design with a soft blue background:

Where to add this code: Go to Appearance → Customize → Additional CSS in your WordPress dashboard, or add it to your theme’s stylesheet.

.compact-review-form .tre-review-form-content {
  background: #f6f9ff;
  border: 1px solid #ced9ff;
  border-radius: 20px;
  padding: 32px;
}

.compact-review-form .tre-form-field label {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

This CSS:

  • Gives the form a soft blue background (#f6f9ff)
  • Adds a matching blue border (#ced9ff)
  • Creates rounded corners (20px radius) for a friendly appearance
  • Adds comfortable padding (32px) around form fields
  • Styles field labels with a smaller, slightly spaced font for a refined look

Usage Tips #

For simple feedback: If you only need quick ratings without detailed text, hide unnecessary fields:

[trip_review_form trip_id="2487" show_title="false" show_content="false" show_images="false"]

For anonymous reviews: Remove personal information fields to encourage honest feedback:

[trip_review_form trip_id="2487" show_name="false" show_email="false"]

For photo-focused testimonials: Keep the form minimal but enable photo uploads:

[trip_review_form trip_id="2487" show_title="false" show_images="true"]

Summary #

The Trip Review Form shortcode ([trip_review_form]) makes it easy to collect traveler feedback anywhere on your WordPress site. Whether you need a comprehensive review form with photos and detailed text, or a quick rating widget, this shortcode adapts to your needs.

By toggling individual fields on or off, you can create the perfect balance between gathering useful information and keeping the submission process simple for your guests.

Place the form on trip pages, thank-you pages after booking, or dedicated review collection pages to gather authentic testimonials that help future travelers make informed decisions.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on November 9, 2025
[trip_review_list] Shortcode[trip_reviews_gallery] Shortcode
Table of Contents
  • Basic Usage
  • Available Options
    • Trip Selection
    • Form Field Controls
    • Styling Options
  • Complete Example
  • Custom Styling Example
  • Usage Tips
  • Summary

Copyright © 2026 WP Travel Kit - Documentation. Travelscape By WP Travel Kit