- This topic has 5 replies, 2 voices, and was last updated 4 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Travel Master Pro › Travel Info
Hi,
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 wsi
Is 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)
Hello,
Please explain in detail your query with specific screenshots and with your site URL so that we can inspect further.
Regards.
My 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)
Hello,
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.
Hello,
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).
Regards
Hello,
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.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |