Home › Forums › Pro Themes › Travel Master Pro › Travel Info
- This topic has 5 replies, 2 voices, and was last updated 5 years, 5 months ago by
wensolutions.
-
AuthorPosts
-
May 14, 2020 at 10:51 am #123330
North by Design Karina Cicha
ParticipantHi,
In the box on the right in trip deatils there is a div “wp-travel-trip-meta-info” with the “travel-info” divs inside (https://www.screenpresso.com/=hQ5jd)In this place are fields: Destination, Trip Type, Activity and Group size: No size limit.
In my case it was translated by Loco to Lokalizacje, Forma wypoczynku, Atrakcje w okolicy i w obiekcie, and Polska turystyka: Na polskiej wsiIs there any way to: disable “travel-info” Group size and add the new travel info made by WP Travel -> Custom filters called Region turystyczny (slug: region-turystyczny)
May 15, 2020 at 1:14 am #123390wensolutions
KeymasterHello,
Please explain in detail your query with specific screenshots and with your site URL so that we can inspect further.
Regards.
May 16, 2020 at 3:10 pm #123502North by Design Karina Cicha
ParticipantMy website: https://przyjaznemiejsca.pl/
I want to add a Custom filter called Region turystyczny (slug: region-turystyczny)
here https://nimb.ws/KC7sL4 (red selection)
and delete from this box “travel-info” Group size (blue selection)May 19, 2020 at 8:17 am #123730wensolutions
KeymasterHello,
Regarding your query, you can add the below-given code (Filter) in your child theme functions.php for the modification.
remove_action( 'travel_master_pro_trip_after_title', 'wp_travel_single_excerpt', 20 ); add_action( 'travel_master_pro_trip_after_title', 'wp_travel_single_excerpt_customized', 20 ); function wp_travel_single_excerpt_customized() { // Copy the code from 'wp_travel_single_excerpt' and customize here }If you have further queries/confusion, let us know.
Regards.
May 31, 2020 at 7:32 am #124827North by Design Karina Cicha
ParticipantHello,
where this “wp_travel_single_excerpt” is? I couldn’t find it anywhere.
And what are names of this elements in the php function (group size and the new one I have created).
RegardsJune 1, 2020 at 2:32 am #124899wensolutions
KeymasterHello,
The content to be copied under the function “wp_travel_single_excerpt” is inside the path wp-travel > inc > template-functions.php.
So please copy the content inside this function and edit.
Let us know if you have any queries further.
Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.





