• hbee

    (@heatherbodlak)


    Hello!

    something very strange is happening, and I don’t know why.

    We have a site, with many many categories created, to indicate LOCATIONS. They are all created, and organized with parent categories, etc.

    However, the issue is the following:

    When creating an Entry, using Gutenberg Blocks Editor, ANY CATEGORY starting with the letter “V” or later (ie, V, W, X, Y, Z) doesn’t appear in the list to select. Those missing categories DO however appear in the “Quick Edit” box.

    See attached screenshots:

    1. Categores are created: https://ibb.co/MCtrnD9
    2. They appear in the “Quick Edit” box: https://ibb.co/pL14qm4
    3. But they DON’T appear when editing the Entry: https://ibb.co/r0byyRN

    Any ideas what might be causing this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • None of your screenshots are working.

    Thread Starter hbee

    (@heatherbodlak)

    Hmmm that’s strange. When I click on those links I am able to view the images….
    Let me try here:

    1. CategorIes are created and can be seen in the list:

    2. Categories are visible in “Quick Edit”

    3. Categories NOT there in the Entry Editor:

    Thread Starter hbee

    (@heatherbodlak)

    FYI I’ve tested deactivating different plugins like Autoptimize… but the problem persists. What plugin could be in conflict with Guteberg categories block??

    Thread Starter hbee

    (@heatherbodlak)

    I found the solution!!

    HERE: https://www.ads-software.com/support/topic/suddenly-lots-of-categories-missing-in-sidebar-gutenberg-post-editor/

    As someone pointed out there:

    The Gutenberg category meta box only displays your most used categories when you have a lot of them. To access the others you need to use the provided search box. The terms initially listed are intentionally limited because querying for a large number of terms can be rather time consuming.

    adding this code snippet to functions.php increases the limit:

    add_filter(‘rest_category_query’, ‘bcw_more_cats’, 10, 2 );
    function bcw_more_cats( $args, $request ) {
    $args[‘number’] = 300;
    return $args;
    }

    Phew!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.