itinerary view mode

Homepage Forums WP Travel itinerary view mode

This topic contains 4 replies, has 4 voices, and was last updated by  wensolutions 5 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4020

    absher
    Participant

    by default WP Travel showing itinerary/?view_mode=list

    how can we cange default view to itinerary/?view_mode=grid

    i have added widgets to home page they also in list mode how can i use grid mode for widget

    #4021

    absher
    Participant

    got codes but how can change grid mode for widgets like class-wp-travel-widget-featured.php

    function wp_travel_get_archive_view_mode() {
    $default_view_mode = ‘grid’;
    $default_view_mode = apply_filters( ‘wp_travel_default_view_mode’, $default_view_mode );
    $view_mode = $default_view_mode;
    if ( isset( $_GET[‘view_mode’] ) && ( ‘grid’ === $_GET[‘view_mode’] || ‘list’ === $_GET[‘view_mode’] ) ) {
    $view_mode = $_GET[‘view_mode’];
    }
    return $view_mode;

    #4062

    Support Team
    Keymaster

    Hello @absher,

    Currently, the theme does not have the feature to switch the layout for the widgets like class-wp-travel-widget-featured.php.

    However, we will consider it as the requested featured and will try to include it in the coming updates.

    But if you still want it currently, our suggestion to you is to hire the professional developer so that your code won’t be affected in any way.

    To hire the developer please refer to below link.

    http://wensolutions.com/hire-wordpress-customizer/

    Hope this helps.

    Best Regards!!

    #13178

    iban
    Participant

    HOw can i change to 4 grid mode after filter?

    #13182

    wensolutions
    Keymaster

    Hello @iban,

    Currently, it is not possible in the WP Travel plugin and as much as we would like to help you with this we are unable to do so as it requires higher code customization.

    So if you require then you can hire the professional developer.

    To hire a developer refer to below given link:

    http://wptravel.io/hire-our-customizer

    Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.