Member
Member
walterbz   2013-08-19, 08:22
#1

Hi,
in the source code of pages (version 1.4.5) there is a that prevents the images to be pinned.
I cant't find where to remove this meta tag.
The only place where this meta tag is found is in html_meta_tags. But there the pinterest meta is not active.
Nothing also found in template.
Any idea?

Thank You
Walter

Administrator
Administrator
acrylian   2013-08-19, 08:39
#2

The only official place for this is the html_meta_tags plugin. The only meta tag official themes have built in is that for encoding.

Member
Member
walterbz   2013-08-19, 08:45
#3

In the plugin option the checkbox is deactivated...but the meta tags appears. I tried to activate/deactivate other meta and they all works correctly.

Member
Member
walterbz   2013-08-19, 09:14
#4

Found the problem!
In html_meta_tags.php the options to display or not the pinterest tag is
line 306:
// Social network extras
if(getOption('htmlmeta_name-expires')) { $meta .= ''."\n"; } // dissalow users to pin images on Pinterest

So if the meta expires is activated (default it is) the pinterest tag appears.

I think that line 306 is wrong! It should be:

if(getOption('htmlmeta_name-pinterest')) { $meta .= ''."\n"; } // dissalow users to pin images on Pinterest

Correcting this line solves the problem.

Administrator
Administrator
acrylian   2013-08-19, 09:29
#5

Thanks, good find, indeed a typo. Fix in the support build on GitHub.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.