trotsky
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API causing long load timesThanks for the reply. Unfortunately installing and activating that plugin did not make any difference.
Automattic\WooCommerce\RestApi\Server->register_rest_routes() is still by far the slowest callback, and it’s still running even with the Disable REST API plugin active.
Forum: Developing with WordPress
In reply to: Disabling Gutenberg Duotone Filter?Thanks @christof15, I spent two days looking for that exact code- it’s the only thing I found so far that actually removes those SVGs from <body>
Figured it out. I had put a bad piece of code in my functions.php. Guess it affected wp-admin output too….
function number_of_posts_on_archive($query){
if ($query->is_archive) {
$query->set(‘posts_per_page’, 10);
}
return $query;
}add_filter(‘pre_get_posts’, ‘number_of_posts_on_archive’);
TL;DR: check your filters ‘n’ hooks.
This is still happening with the latest 4.6 RC.
Just to clarify: these posts DO show up on the blog, and do show up when the site is queried with sitename.com/tag/tagname. But when the Posts view in wp-admin is filtered by that tag, they DO NOT show appear in that list. Strange.
Forum: Fixing WordPress
In reply to: Custom menus don't workHere you go: https://www.dog-dojo.com/boo/
My intent is to have custom menus set up on the main site (it’s a multisite installation), but I set up a fresh, alternate blog (Boo) for the purposes of experimentation. I notice the same behavior on ALL SITES in the network. Weird, right?
Forum: Fixing WordPress
In reply to: Custom menus don't workRight, I understand there’s a question of theme compatibility. However, it fails to work on the default Twenty Eleven theme, which I know supports custom menus. And I’m inclined to believe it’s a deeper problem because none of the menu items show up when I make a Custom Menu widget, which would be theme-agnostic. So it’s gotta be something messed up in the configuration or database.