1 padir Aug 08, 2014 02:17
3 padir Aug 08, 2014 10:48
Hi @padir,
The right way to do that, without touching the code, is by setting the number of Posts/Days per page (http://b2evolution.net/man/item-list-features) to a higher value, let's say 200. That way all the posts will be displayed in the main page, unless the blog has more posts than the number you just set.
However, this is a per-blog setting, which means that needs to be done on each blog. Knowing that you have several blogs, maybe it makes sense to do a little change in the code to save time:
- Go to file inc/skin/_skin.funcs.php
- Go to the line 106. It should look like this: init_MainList( $Blog->get_setting('posts_per_page') );
- Replace the following section of code by the number that you prefer: $Blog->get_setting('posts_per_page')
- The modifed line will look like this:
init_MainList( 200 );Regards!
Super Thanks a Million !!
ill Probaby change the code this time around and change the settings in the individual blogs next Year !!!
Hi @padir,
The right way to do that, without touching the code, is by setting the number of Posts/Days per page (http://b2evolution.net/man/item-list-features) to a higher value, let's say 200. That way all the posts will be displayed in the main page, unless the blog has more posts than the number you just set.
However, this is a per-blog setting, which means that needs to be done on each blog. Knowing that you have several blogs, maybe it makes sense to do a little change in the code to save time:
inc/skin/_skin.funcs.php
Regards!