- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
Support Team.
-
AuthorPosts
-
September 15, 2019 at 3:30 am #19750
gnexman
ParticipantHello 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.
September 16, 2019 at 4:25 am #19772Support Team
KeymasterHello @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.
September 16, 2019 at 2:35 pm #19791gnexman
ParticipantHello 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.
September 17, 2019 at 3:34 am #19799Support Team
KeymasterHello @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:
Hope this helps.
Thank you.
September 17, 2019 at 4:59 am #19800gnexman
ParticipantYes, it was really helpful.
Thank you very much for your kind support.
September 17, 2019 at 5:33 am #19803Support Team
KeymasterHello @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.
-
AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.