all contents doesn't appears on the Homepage tab

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19750
    gnexman
    Participant

    Hello Support Team,

    I have selected 7 tab to display on the Homepage http://prntscr.com/p699r9. Contents are showing properly on ALL tab but in other tabs showing only few http://prntscr.com/p69b2b and blank http://prntscr.com/p69ay4 in some tabs. There are enough contents related with that tab.

    Next, How can I change to Grid view from List few as default to display contents on category or Destination as I am using Travel Log theme? and How can I change number of contents to be display from 10 (default) to 12 in the category.

    Thank you.

    #19772
    Support Team
    Keymaster

    Hello @gnexman,

    You should know that in the post filer section you will be only able to display at most 9 posts only so in the previous case some destination might not have not displayed.

    So as a workaround you can add below-given code to increase the no of post to display in the post filter section.

    For this, you need to create and activate the child theme.

    To know 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_post_filter_post_limit(){
    	return 15;
    }
     add_filter ( 'travel_log_posts_filter_posts_limit' , 'wp_travel_post_filter_post_limit' );

    This should resolve the issue.

    As for changing the default mode, please add below given code in your child theme fucntions.php file.

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

    Hope this helps.

    If you have any issues further then kindly let us know.

    Thank you.

    #19791
    gnexman
    Participant

    Hello Support Team,

    Thank you very much for your great support.

    I will try to find out other solution for Homepage tab.

    Can you please answer my last question, How can I change number of post/trip to be display from 10 (default) to 9 or 12 in the category/Destination/Tour?

    Thank you.

    #19799
    Support Team
    Keymaster

    Hello @gnexman,

    You can increase the no of post to display in the category/Destination/Tour by going to Admin Panel > Setting > Reading : Blog pages show at most.

    Please refer to below given screenshot:

    https://prnt.sc/p72cgq

    Hope this helps.

    Thank you.

    #19800
    gnexman
    Participant

    Yes, it was really helpful.

    Thank you very much for your kind support.

    #19803
    Support Team
    Keymaster

    Hello @gnexman,

    Glad we could help you.

    If you have any issues further then kindly let us know.

    Also, we would really appreciate if you could help us by adding your valuable feedback regarding our product and the support by following the link below:

    https://wordpress.org/support/plugin/wp-travel/reviews/

    Thank you.

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