• Resolved zigpress

    (@zigpress)


    This is info that might help someone, not a question.

    In order for this plugin to work, any taxonomies you want to filter on must be initialised with:

    ‘publicly_queryable’ => true

    Otherwise things will screw up.

    Maybe it’s a no-brainer but it had me fooled for an hour or two.

    Thanks for an excellent plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Absolutely right!
    having it publicly_queryable is actually also a requirement for the taxonomy to have usable archives.
    If a taxonomy is set to be public (public => true) then this is inherited into publicly_queryable. And in general if you want to use a taxonomy in the frontend you’d set it to be public ??

    I can totally understand how this could trip someone up tho as there’s a lot of parameters to keep in check when registering taxonomies and custom post types.

    Best of luck to you in your project!
    If you like BTF I appreciate a review (even if you dont like it).

Viewing 1 replies (of 1 total)
  • The topic ‘Taxonomies must be publicly queryable’ is closed to new replies.