i have more than 10 thousands tags(wordpress core tag), i want list some of them out( for example, list 100 of them), by Query block.
now if i do this, the page will show " Fatal error : Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/*/wp-includes/wp-db.php on line 2135"
i know. most people are small site, not everyone have so many tags need to manage, but i think this is still a issue need to care and fix.
i give a thought on this topic, i have more than 100 thousand posts, but it is still can list them out smoothly in pages one by one, is it possible, can we can list the WordPress tags taxonomies like posts?
Yes. You can list the tags taxonomy like posts. WP 6.1 will also some bring perf improvements which will also benefit Cwicly as it queries WP native way and not in a custom way.
If this is a query using the Query block, then this is most definitely an out of memory issue that we cannot fix on our side without knowing the exact architecture of your installation. Indeed, we use the default WP Query (and other official classes) to query the database, thus this would necessitate custom attention.
If this is using the Taxonomy Query block, then there might be adjustments we can make if you are using specific arguments in the block.
firstly, for default posts post type:
Taxonomy Query block" is working very well in backend(cwicly block editor), after setting change, it will list the tags smoothly. but on frontend, it will take a lots of time for response. i can send you the testing link, if you need, please let me know. by the way, in the âorderâ setting, missed the ârandomâ option(post query have random order option),
secondly, what i want to do is:
list out the Taxonomy( core tags) from specific post type posts(i assigned the core tag to different custom post type with CPT UI)/or you may also think about list tags from specific category posts, but Taxonomy Query block seems do not have a post type option. Query posts do have but taxonomy query do not.