Pinterest nopin

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

Comments

  • acrylian Administrator, Developer
    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.
  • 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.
  • 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.
  • acrylian Administrator, Developer
    Thanks, good find, indeed a typo. Fix in the support build on GitHub.
Sign In or Register to comment.