short code to big

Homepage Forums WP Travel short code to big

This topic contains 1 reply, has 2 voices, and was last updated by  Support Team 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4381

    lukazj
    Participant

    Hello,

    Is it possible to have the shortcode show 3 or 4 trips per row instead of 2?

    tHankyou!

    #4382

    Support Team
    Keymaster

    Hello @lukazj,

    Yes you can adjust the column to 3,4 as per your requirement through the use of child theme.

    You can create the child theme manually or you can simply create the child theme using the plugin given below:

    https://wordpress.org/plugins/wp-child-theme-generator/

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

    function wp_travel_col_per_row($row) {
    return 4;
    }
    add_filter( 'wp_travel_itineraries_col_per_row', 'wp_travel_col_per_row' );

    Here you can change the no as per your requirement.

    Hope this helps.

    Best Regards!!

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

You must be logged in to reply to this topic.