• Resolved rebeccamantel

    (@rebeccamantel)


    Hello

    I have a problem that I want to show posts which belong to a certain taxonomy (A) term (I set

    Hide Term Hide the term on the frontend. But loading posts will take this term into account. Enabled)

    and filter them by the terms of another taxonomy (B). On page load it shows me all the posts of taxonomy (A) but when filtering by a term of taxonomy (B) it shows me also posts which don’t belong to taxonomy (A). What could be done? Thank you so much!!

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

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

    (@wssoffice21)

    Hi!
    The Hide Term option on the frontend hides them only on the fly (intermediate environment), but does not affect the database query itself. You need to configure the query itself taking into account all the requirements that relate to the global WP_Query object. The plugin provides fine-tuning for receiving filtered posts and works mainly only on the basis of this object. If this is not enough for you, you can use the Advanced Query option and independently specify the parameters for receiving the desired posts in the grid.

    Thread Starter rebeccamantel

    (@rebeccamantel)

    Thank you so much!! I added post_type=shiur_audio&posts_per_page=-1&audio_category=סדר-מועד but now the filters are not working anymore they are always showing me all the posts from the query…

    Plugin Author YMC

    (@wssoffice21)

    Thread Starter rebeccamantel

    (@rebeccamantel)

    Amazing!! Thank you so much!! The only thing is that the filter terms which don’t have posts here still show without the class “isDisabled”

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Issue with “and” taxonomy’ is closed to new replies.