WordPress.org

Support

Support » Plugins and Hacks » Share Buttons by AddThis » Different IDs for top and bottom

Different IDs for top and bottom

Viewing 1 replies (of 1 total)
  • For anyone interested in something similar this will get you started

    $content = get_the_content();
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);
    $content = preg_replace('/addthis_default_style/', 'addthis_default_style addthis_top', $content, 1);
    echo $content;

    instead of

    the_content();

Viewing 1 replies (of 1 total)
  • The topic ‘Different IDs for top and bottom’ is closed to new replies.
Skip to toolbar