跳到内容

TP Travel Package

v1.0.4

themepalace · 2017年8月15日 上架

Enhance your travel sites more efficiently. Allow user to utilize post types and meta data on your site with TP Travel Package.

正在使用
10+
评分
暂无
累计下载
4,025
最近更新
2022年8月15日
需要 WordPress 4.7+已测试到 6.0.19

贡献者

A plugin to add custom post type ( Destination and Package ) and it’s required meta fields for travel sites. This plugin is dedicated for travel themes.

Template Overwrite

* Create a folder named "tp-travel-packagee" and do all the overwrites inside the folder as instructed below.
* Archive Pages
    - you can overwrite all archive pages for post types available in this plugin. ie: tp-archive-package.php
* Search Page
    - you can overwrite package search page for post types available in this plugin by tp-package-search.php
* Single Pages
- you can overwrite all single pages for post types available in this plugin. ie: tp-single-package.php

Functions to Call Meta Values

Destination Details

tp_destination_quote( $post_id = '' ); // Destination Quote
tp_destination_rating_value( $post_id = '' ); // Destination Rating value in number
tp_destination_rating( $post_id = '' ); // Destination Rating value in stars

Package Details

tp_package_quote( $post_id = '' ); // Package Quote
tp_package_price( $post_id = '' ); // Package Price
tp_package_pax( $post_id = '' ); // No of people for package
tp_package_days( $post_id = '' ); // No of days for package
tp_package_difficulty( $post_id = '' ); // Package Diffifulty
tp_package_date( $post_id = '' ); // Package Departure
tp_package_destination( $post_id = '' ); // Package Destinaiton
tp_package_destination_link( $post_id = '' ); // Package Destinaiton with link<h3>Files</h3>
jQuery UI - v1.12.0
License: https://jquery.org/license/ ( Copyright jQuery Foundation and other contributors; Licensed MIT )
Source: http://jqueryui.com

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums