Limited Number Post Filter Section

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13451
    max
    Participant

    Hi sir,

    May i know how to increase the Wp Travel theme “Post Filter Section” from 9 thumbnails to customize no?

    #13458
    Support Team
    Keymaster

    Hello @max,

    You can definitely increase the no of trips in the post filter section and for this you need to activate your child theme.

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

    function travel_log_customize_post_filter_section (){
    return 20;
    }
    add_filter('travel_log_posts_filter_posts_limit','travel_log_customize_post_filter_section');

    Hope this helps.

    Regards!!

    #13461
    max
    Participant

    Hi sir,

    It’s work!
    I can change the maximum number follow my own way!
    Thank you so much!

    #13481
    wensolutions
    Keymaster

    Hello @max,

    Glad to help you.

    Let us know if you have any confusion further.

    Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.