Disable og:image for post of certain category
-
Hi all,
Is it possible to disable the output of a default og:image on certain posts (i.e. post is in category 123)?
The reason for my request: When I insert images into a post using a gallery, WPSeo does not pick up these images and displays the standard, default og:image.
Thus I want to tag posts that have a gallery by adding a category (123). When a post from that category is displayed, I want to surpress the output of the default og:image.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable og:image for post of certain category’ is closed to new replies.