![]() |
|
Pinterest nopin - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Pinterest nopin (/thread-11278.html) |
Pinterest nopin - walterbz - 2013-08-19 Hi, in the source code of pages (version 1.4.5) there is a <meta name="pinterest" content="nopin" /> 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 Pinterest nopin - acrylian - 2013-08-19 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. Pinterest nopin - walterbz - 2013-08-19 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. Pinterest nopin - walterbz - 2013-08-19 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 .= '<meta name="pinterest" content="nopin" />'."\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 .= '<meta name="pinterest" content="nopin" />'."\n"; } // dissalow users to pin images on Pinterest Correcting this line solves the problem. Pinterest nopin - acrylian - 2013-08-19 Thanks, good find, indeed a typo. Fix in the support build on GitHub. |