hdebeuf

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: itinerary view mode #20151
    hdebeuf
    Participant

    Hi everyone,

    Actually, by adding the following filter in the functions.php of your template, you can manage to define the default view mode.

    function default_grid_mode(){
            return 'grid';
    }
    add_filter( 'wp_travel_default_view_mode', 'default_grid_mode' );

    Best regards,

Viewing 1 post (of 1 total)