Hi Phil –
Yes, it was for any category (under the menu or in the tag cloud, or category drop down – in the right side column on bcr8tive.com)
Per your link, there are times when you don’t want to stop pinning all together – but perhaps want a certain image not to be pinned, or to prevent users from pinning the ‘covers’ of posts on pages – and then others can’t find the actual post when more pages are added, if/when the image isn’t linked to the actual post – you want them to pin from WITHIN the post …
So, I went off to investigate – here is what I learned.
? To disable a specific image from being pinned, (like for example if you’ve written a post about someone elses content – you can prevent them from pinning it from YOUR site – and send them off to pin from the original source as follows:)
<img src=”your-image.png” nopin=”nopin”>
? And this is how I was able to prevent categories from being pinned
(it works on tags as well)
In the functions.php file you want to ENABLE HTML in your category & taxonomy description:
Open up your theme’s functions.php file and add the following code:
(Or better still add it to a child theme functions.php file so it doesn’t get written over on updates!)
// allow html in category and taxonomy descriptions
remove_filter( ‘pre_term_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_notes’, ‘wp_filter_kses’ );
remove_filter( ‘term_description’, ‘wp_kses_data’ );
THEN… go to the Category “EDIT” and even if you have text in the description area – add a space and then the following code (edit the comment as you see fit as long as it isn’t too long)
<meta name=”pinterest” content=”nopin” description=”Enter your new description here” />
It was tedious for me, but worth it.
Now I can stop asking users that I see in Source to stop doing this, or explaining why they shouldn’t, and they just can’t do it ??