Shortcode list display

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)
  • The forum ‘WP Travel’ is closed to new topics and replies.