Support

Account

Home Forums General Issues get_posts filtered by custom field very slow Reply To: get_posts filtered by custom field very slow

  • In the meantime I found these statements:

    – Using meta queries to find posts is super expensive
    – Post meta isn’t built for filtering
    – Taxonomies were built for filtering, and they’re significantly faster for this
    – Post meta is designed for when you already know which posts, so get_post_meta is a fast function

    Someone suggested, to read out all entries with get_posts without filtering, and then do an extra loop with this output, to filter the entries.

    Is this really the only solution? And if so, could anyone help me to do this?