Social Share bar (Digg Digg Alternative)
[resolved] Causes META tags to go into (5 posts)

  1. Chris Greten
    Posted 3 years ago #

    I'm using your great plugin, but found that it caused my META tags to go into the <BODY> instead of the <HEAD>, where they belong.

    After changing your code from

    add_action('wp_head', 'moki_add_social_content');



    all my <META> tags are in the right spot again.

    You might want to fix this in the next version...


  2. Chris Greten
    Posted 3 years ago #

    Update: Some themes execute the loop multiple times, so I added a global variable to check, if the loop had been executed already:

    global $dyksb_loaded;
    if ( $dyksb_loaded == 1 ) return;
    $dyksb_loaded = 1;

    Also please note that the position of the floating bar is now relative to the <DIV> where the loop is executed.

    Unfortunately, there is no hook to place code straight after the <BODY> tag...

  3. Brandon_Orndorff
    Plugin Contributor

    Posted 3 years ago #

    Thank you, I will be sure to add this to the next update.

  4. RedNasiL
    Posted 3 years ago #

    Thanks for this post, I was breaking my head for about a week with this. Deactivated the plugin and everything works again.

  5. Sherwin Techico
    Posted 3 years ago #

    Thanks for the heads up. Was about to use this plugin. Will be putting this hotfix for now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic