Forums Forums Search & Filter Pro Results inconsistencies & taxonomy bugs

Viewing 10 posts - 1 through 10 (of 10 total)
  • Trevor
    #272031

    The issue I think is likely in what you tell me, that you are sharing one of more taxonomies across more than one post type, which you shouldn’t do in WordPress, but it is possible to set it up to do so.

    Since ‘term splitting’ was introduced in WordPress, it is not recommended to use the same taxonomy across multiple post types – instead you should use Custom Fields to do this, as these can be applied to multiple post types. If you need to use taxonomies, you need to have/make separate custom taxonomies for each post type, even if they use the same terms.

    The consequence of this, is that if you are searching more than one post type (other than in WooCommerce which has Products and Variations as linked post types), you should not use taxonomy fields in the search.

    Anonymous
    #272064

    Hiya,

    Thanks for getting back to me, they are separate taxonomies that have the same term names in (apologies for not being clear), they have different machine names (but identical user readable names), e.g. ‘categories’ == ‘category’ & ‘peresource’.

    Cheers
    Harry

    Trevor
    #272068
    This reply has been marked as private.
    Anonymous
    #272069
    This reply has been marked as private.
    Anonymous
    #272071
    This reply has been marked as private.
    Trevor
    #272075
    This reply has been marked as private.
    Anonymous
    #272099
    This reply has been marked as private.
    Trevor
    #272107
    This reply has been marked as private.
    Anonymous
    #272129

    Hiya,

    Many thanks for the info, I will go through the list and make changes.

    Cheers
    Harry

    Trevor
    #272137

    OK. Let me know how you get on.

Viewing 10 posts - 1 through 10 (of 10 total)