Restrict videos when post is in more than 1 category
-
When a post is in more than one category or sub-category, is there an easy way to restrict the videos displayed to only one category?
The Same Category Posts widget works perfectly when a post is in a single category, but if a post is in a second category or a sub-category, irrelevant videos show up.
This happens because it was necessary to create an extra category (“Archive”) to make posts display in the slider at top. So if a post in the Theatre category and a post in the Cinema category are to be seen in the slider, both go into the Archive Category as well. This results in a situation in which a post in the Cinema category will display “same category” posts about Theatre and vice versa. Obviously, I want only Cinema posts to show up besides articles about Cinema, etc.
I used to be able to do this manually with the help of the AVH Extended Categories Widget, which created options in the Same Category Posts widget to show exactly what I wanted. Unfortunately, the AVH Extended Categories widget has not been updated in 3 years and it started creating a conflict with the most recent update of WordPress, so I had to disable it.
Obviously, one possibility is to get rid of the extra “Archive” category and figure out some other way to select videos to show up in the home page slider. But since it was possible to restrict videos with the help of the AVH widget, I assume there must be some other plug in or method that will do the job.
The page I need help with: [log in to see the link]
- The topic ‘Restrict videos when post is in more than 1 category’ is closed to new replies.