

(And if it will work fine and solve the issue, you will be able to check why the plugin still works in a category.php even when the categories checkbox is unchecked in the plugin’s setup page) Would you please help me, what are all the filters I should remove there in order to cancel the operation of the plugin?

So anyway since I don’t need any intervention of this plugin in the category.php, I thought to add some remove_filter() funcitons to my category.php file, to remove all your plugin filters from there, and see if it fixes my issue with categories. $channel_pull_items = get_posts('cat='.$catid.'&showposts=5&meta_key=_pull_channel&meta_value=on&orderby=rand') $channel_pull = get_posts('cat='.$catid.'&showposts=1&meta_key=_pull_channel_first&meta_value=on&orderby=DESC')
#SORTED3 REFRESHING SLOWLY ARCHIVE#
this only on first page of categoty archive I suspect that since your plugin uses the posts_join, posts_where, and posts_orderby filters, it may be the reason.
#SORTED3 REFRESHING SLOWLY CODE#
Slow issue occur only when your plugin is active.īelow you may see sample for some of the code I use in the category.php file. However, my category.php is complexed because this is a news site and has some special needs for that category archive, so I have there several get_posts() and query_posts() functions that are running.Īgain – when your plugin is deactiveted, it works just fine. Yes, they are being paged, about 16 posts per page (first page has some more post queries) As I mentoined, when I deactivate your plugin – everything comes back to normal and fast.Īre these posts category archive query being paged? This is why it is so weird, because your plugin should not have any effect on the category.php archive page, but it seems it does affect. No, I didn’t manually sorted them, and I didn’t check the categoeries checkbox in the plugin’s setup page. The slowness is only when this plugin is activate. When this plugin is deactivated – everything works great and fast. Yes, I now see I had a mistype in my question. When deactivate the plugin, the speed increases? Maybe there’s a filter function that I should add to eliminate the plugin “mess” the default category? So why your plugin is affecting the category.php anyway, if the cateogry is not to be sorted with the plugin? I do have several (2-3) get_posts function on the category.php template file, but anyway I didn’t mark the Categories taxonomy to be activate with your plugin, only another taxonomy. When the Reorder-post-within-categories – all categoies archives are again being loaded very fast. Other categories with about 200 posts are being loaded fast. Not all categories, but one category which has more than 2000 posts, is being loaded very slow, and so also another category archive page with 850 posts, is being loaded very slow. However, the default WordPress Category taxonomy archive, has become v-e-r-y slow on the frontend. I’ve set your plugin to activate only on one custom taxonomy of the posts post type, and those custom taxonomy archive pages also work well, fast, and manually ordered. I have on that site some Custom post types and Custom taxonomies that are defined.Īll taxonomy and category archives are loading fast on the frontend. I’ve recently installed this plugin on a site I run for several years. Thanks for your plugin, which does exactly what I need!
