Action : wp_travel_archive_listing_sidebar #
This hook allows you to add the custom content in the trips itinerary page just below the trips listing section.
Source
File : /templates/archive-itineraries.php
Used by</td |
/templates/archive-itineraries.php |
Example :
function prefix_wp_travel_archive_listing_sidebar() {
esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_archive_listing_sidebar', 'prefix_wp_travel_archive_listing_sidebar' );
Action : wp_travel_before_archive_itinerary #
This hook allows you to add your custom content above every individual trips in the trip archive itinerary page.
Source
File : /templates/content-archive-itineraries.php
Used by |
/templates/content-archive-itineraries.php |
Example :
function prefix_wp_travel_before_archive_itinerary() {
esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_before_archive_itinerary', 'prefix_wp_travel_before_archive_itinerary' );
Action : wp_travel_after_archive_itinerary #
This hooks allows you to add the custom content after every trip in the trip archive page.
Source
File : /templates/content-archive-itineraries.php
Used by |
/templates/content-archive-itineraries.php |
Example :
function prefix_wp_travel_after_archive_itinerary() {
esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_after_archive_itinerary', 'prefix_wp_travel_after_archive_itinerary' );
Action : wp_travel_before_archive_content_title #
This hook allows you to add custom content just above the trips title in archive trip page.
Source
File : /templates/content-archive-itineraries.php
Used by |
/templates/content-archive-itineraries.php |
Example :
function prefix_wp_travel_before_archive_content_title() {
esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_before_archive_content_title', 'prefix_wp_travel_before_archive_content_title' );
Action : wp_travel_after_archive_title #
This hook allows you to add your custom content just below the trips title and above the trips excerpt in trip archive page.
Source
File : /templates/content-archive-itineraries.php
Used by |
/templates/content-archive-itineraries.php |
Example :
function prefix_wp_travel_after_archive_title() {
esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_after_archive_title', 'prefix_wp_travel_after_archive_title' );