• Hi

    Thanks for the great plugin. I just have a small problem I hope I can find a fix for.

    I have a taxonomy of US states. This is shared with several post types. When I have the dropdown on a specific page I want it to filter the results for just one specific post type so that when you see the record counts they are relevant to that post type only, not for every record that is linked to that specific taxonomy term.

    Is there a way to do this? Thanks!

    https://wordpress.org/plugins/beautiful-taxonomy-filters/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi WPSeeker,

    Just to clarify do you mean the record count which comes from the Filter info module?
    Or do you mean the count within the dropdowns?

    Thread Starter WPSeeker

    (@wpseeker)

    Hi Jonathan

    I mean the count within the dropdowns.

    Thanks

    Thread Starter WPSeeker

    (@wpseeker)

    Any ideas?

    Thanks

    Plugin Author Jonathandejong

    (@jonathandejong)

    The count within the dropdowns should already calculate correctly for a single post type (even if multiple post types are using the same taxonomy). However there’s two things that either have to be applied.

    either
    1. The dropdowns are in the post types archive.php
    or
    2. You explicitly set the post type as the second parameter of the do_action call.

    Also make sure you’re running the latest version (1.2.9).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Record count by specific post type only’ is closed to new replies.