Styling flaw in wp-content / plugins / wp-travel / inc / helpers.php

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22245
    Zamfari
    Participant

    Merry 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

    #22247
    wensolutions
    Keymaster

    Hello,

    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.

    #22454
    Zamfari
    Participant

    Happy 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

    #22463
    wensolutions
    Keymaster

    Hello,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WP Travel Pro’ is closed to new topics and replies.