WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Digg Digg adds some code to the description tag – help

[Resolved] Digg Digg adds some code to the description tag – help

  • Hello,
    I am using digg digg plugin to add float bar on my blog, I also us a plugin to create facebook meta tags.
    the description tag content is taken out of the post’s excerpt.

    but after activating digg digg the tag’s content is looking like this:

    <meta property=”og:description”
    content=”This is my post’s description.
    var dd_offset_from_content = -900; var dd_top_offset_from_content = 0; jQuery(document).ready(function($) { window.setTimeout('loadLinkedin_5457()',1000); }); function loadLinkedin_5457(){ jQuery(document).ready(function($) { $('.dd-linkedin-5457').remove();$.getScript('http://platform.linkedin.com/in.js&#039;); }); }” />

    can you point how can I solve this?
    (tried to disable/enable w3 total cache)
    Thx
    G

    http://wordpress.org/extend/plugins/digg-digg/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew Yates

    @andy7629

    Hi gclass.

    Digg Digg adds itself to the excerpt which is why this is happening. To resolve it you can add the following to your themes functions.php file…

    remove_filter('the_excerpt', 'dd_hook_wp_content');

    Andrew thx for your reply.

    mezzofanti

    @mezzofanti

    Andrew,

    Can you please explain where to insert that line in the functions.php file? It didn’t work for me.

    There must be a way to stop Digg Digg from interfering with excerpts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Digg Digg adds some code to the description tag – help’ is closed to new replies.