- This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by
wensolutions.
- AuthorPosts
- December 23, 2019 at 9:58 am #22245
Zamfari
ParticipantMerry Christmas WP-Travel Team –
In wp-content / plugins / wp-travel / inc / helpers.php I came across the following code in line 695
if ( ‘yes’ === $fixed_departure ) :
<?php echo wp_travel_get_fixed_departure_date( $post_id );
else :
$trip_duration = get_post_meta( $post_id, ‘wp_travel_trip_duration’, true );
$trip_duration = ( $trip_duration ) ? $trip_duration : 0;
?>Could you please update to the following lines to include the stylesheets
if ( ‘yes’ === $fixed_departure ) : ?>
<div class=”wp-travel-trip-duration trip-duration”>
<i class=”wt-icon-regular wt-icon-calendar”></i>
<span class=”wp-travel-trip-duration”>
<?php echo wp_travel_get_fixed_departure_date( $post_id ); ?>
</span>
</div>
<?php else :
$trip_duration = get_post_meta( $post_id, ‘wp_travel_trip_duration’, true );
$trip_duration = ( $trip_duration ) ? $trip_duration : 0;
?>Thank you very much.
Sunny greetings from Livingstone / Zambia
Markus Daniel Schreiner
December 23, 2019 at 11:14 am #22247wensolutions
KeymasterHello,
Merry Christmas to you too.
Regarding your query, we will add the line of code and will release the update.
If you have any queries further, let us know.
Than you.
January 1, 2020 at 10:07 am #22454Zamfari
ParticipantHappy New Year!!
For fixed departure it should show the calendar icon
if ( ‘yes’ === $fixed_departure ) : ?>
<div class=”wp-travel-trip-duration trip-duration”>
<i class=”wt-icon-regular wt-icon-calendar”></i>
<span class=”wp-travel-trip-duration”>
<?php echo wp_travel_get_fixed_departure_date( $post_id ); ?>
</span>
</div>That would be nice to have.
On mouseover it changes the color of the trip title to red. This doesn’t suit us and we’d like to change it. Where can we change it??
Sunny freetings from Zambia Daniel Schreiner
January 2, 2020 at 6:45 am #22463wensolutions
KeymasterHello,
Thank you for your suggestion regarding adding calendar icon for fixed departure.
Also, regarding your query related to changing color of trip title on mouse hover, please add following given CSS code in Additional CSS section by going to Admin Panel > Appearance > Customize > Additional CSS
.archive .entry-title a:hover{ color: #332acd; }
You can replace the color code (#332acd) with your desired color code.
If you have any queries further, let us know.
- AuthorPosts
- The forum ‘WP Travel Pro’ is closed to new topics and replies.