• Resolved mikekatz12

    (@mikekatz12)


    Hi,

    The plugin works great with a database of less than 10000 posts but it times out on a database with 40,000 posts.

    Is there anything that can be done?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ethan Lin

    (@eslin87)

    Hello,

    The timeout isn’t caused by AlphaListing itself, but rather by your web server’s limits such as max_execution_time or server timeout responses. The quick and dirty solution is to ask your web host to increase the execution time or server timeout limit. However, …

    Displaying 5,000, 10,000, or even 40,000 posts all on one A–Z listing page isn’t very practical. Not only can it trigger timeouts, but it also makes for a tough browsing experience. Visitors would be faced with an overwhelming amount of content to scroll through.

    AlphaListing is more effective when broken into smaller, focused indexes. Its shortcode (or block) can be reused as many times as you like with different filters, so you can still give your site visitors an alphabetical view without loading everything at once.

    Here are a few approaches that work well on larger sites:

    • Split by category – Instead of a single mega index, create a separate A–Z index page for each category. This way, each index only has to deal with a smaller subset of posts, and visitors can go directly to the section that matters to them. Shortcode example:
      [alphalisting display="posts" post-type="post" taxonomy="category" terms="my-term-slug"]
    • Group letters together – Instead of showing all 26 letters, group them (A–C, D–F, etc.) to lighten the page. Shortcode example:
      [alphalisting grouping="3"]
    • List categories/tags instead of posts – For really large sites, show an A–Z of terms that link to their archive pages. You can create an A–Z of categories or tags instead of posts. Visitors then click a term to view all posts in that category. Shortcode example:
      [alphalisting display="terms" taxonomy="category"]

    By using one or more of these options, you can keep your pages fast and user-friendly while still giving visitors an alphabetical way to explore your content. Since the AlphaListing block/shortcode can be reused with different filters, you have the flexibility to organize your listings in whatever way best fits your site. For a full overview of available shortcode options, please see the plugin page: https://wordpress.org/plugins/alphalisting/.

    Best,

    Ethan

    Thread Starter mikekatz12

    (@mikekatz12)

    Thank you very much for your detailed reply and for the plugin (works great).

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.