Shortcode list display

Homepage Forums WP Travel Shortcode list display

This topic contains 3 replies, has 2 voices, and was last updated by  Support Team 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19171

    Hello

    I am using the plugin shortcode to display my tours, but it only displays as grid and I would like to display as a lis (horizontaly)

    The same thing for the search filter.

    Is this posible via a Shortcode or CSS?

    thanks

    #19181

    Support Team
    Keymaster

    Hello,

    To change the display mode of the trips listing through shortcode or the search filter, please add below-given code in your child theme fuunctions.php file.

    To know how you can create and activate the child theme, refer to below given link:

    https://wptravel.io/how-to-create-a-child-theme/

    After activating the child theme in your child theme functions.php file add below given code:

    function wp_travel_deafult_mode( $view_mode){
    return 'grid';
    }
    
    add_filter('wp_travel_default_view_mode','wp_travel_deafult_mode');

    Hope this helps.

    Thank you.

    #19202

    Thanks a lot

    #19248

    Support Team
    Keymaster

    Hello

    Glad that we could help you.

    Feel free to write back to us for any further query/confusion.

    Also, we would really appreciate to receive a review rating if you are having a good experience using our product as, it really motivates our team to keep up the hard work. You can follow the given link to post your words : https://wordpress.org/plugins/wp-travel/#reviews

    Best Regards!

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

You must be logged in to reply to this topic.