absher

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: DEMO WP TRAVEL #7596
    absher
    Participant

    Hi again

    we need demo content of the wp travel plugin.

    please provide

    in reply to: itinerary view mode #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;

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