WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
Different IDs for top and bottom (2 posts)

  1. Aaron Cepek
    Member
    Posted 1 year ago #

    So this would be nice

    <div class="addthis_toolbox addthis_default_style addthis_" id="addthis_top">

    and

    <div class="addthis_toolbox addthis_default_style addthis_" id="addthis_bottom">

    So that we could target these separately with CSS.

    Thanks!

    http://wordpress.org/extend/plugins/addthis/

  2. Aaron Cepek
    Member
    Posted 1 year ago #

    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();

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.