-
AuthorPosts
-
January 3, 2017 at 1:41 am #728803
Hi,
I know you can change how many posts are displayed on an archive page by altering the value in wordpress settings. However, I believe that limits the number to 200 but in any case then applies to all post types.
I am rebuilding a site on my home pc which already uses Enfold – I simply want to change how various pages are constructed and how they output posts. Using a renamed version of your archive and loop-index files I want to be able to display all posts (there will be 500) on a single archive page (the output is only the post title and a single custom field, fed into a very simple table layout, sorted by taxonomy values). The archive page already works exactly as expected, but I cannot work out how to set the archive page to display an unlimited number of posts.
I believe simple code added to the loop is all that is needed but don’t know what I need to change. Using your standard archive template, what do i need to change or add?
Many thanks.
January 3, 2017 at 11:50 am #728924Hey brian7454,
I don’t think we could help you with this kind of customization, but what about a plugin like: https://jetpack.com/support/infinite-scroll/?
Best regards,
AndyJanuary 8, 2017 at 2:02 am #730771I wasn’t asking for customisation, I simply wanted to know how to specify the number of posts shown in a loop using your standard archive.php
In any event don’t worry, I set the number of posts shown as 700, which works perfectly (yes, it’s a little slow at 5-6 seconds without yet adding minification or cache plugins, which I will obviously do) and then a snippet thanks to the avada group on facebook to restrict the number of normal posts, which works a treat. Inifinite scroll is a nightmare and totally inappropriate for what I need, but thanks for the suggestion.
Thank you
January 9, 2017 at 1:34 pm #731121Hi,
it’s not our standard archive.php, but WordPress’, so if you want to customize it refer to general WP support forum.
Best regards,
AndyJanuary 10, 2017 at 4:02 pm #731596Seriously?
January 11, 2017 at 8:44 pm #732296Hi,
yes this functions is controlled by WordPress and not by Enfold. However, you could activate ALB, the it would be controlled by Enfold of course. Using Blog Post element, you’ll be able to set how many posts are shown.
Anyway, inside your WordPress backend go to Settings->Reading->”Blog pages show at most”
This should do the job for your WordPress settings.Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.