• Hello,
    I’ve tried just about every sharing plugin and this is one of the lightest and cleanest! With that said, I have a suggestion.

    I noticed a previous support topic on this subject
    (https://www.ads-software.com/support/topic/plugin-wp-socializer-move-socializer-under-post-links).
    On that previous thread, Plugin Author @vaakash said “It is definitely a THEME problem. Choose a different theme and check that it will work fine. Just contact the theme author about this and he will clarify it.”

    I’m having the same issue so I looked into this a little bit. On my Genesis child theme, I couldn’t get the post-links to go between the post content and Socializer links at the top or bottom. I found out why:

    The post-links are added using the add_action method. By changing the $priority argument, the location of these and other post objects can be moved around in the templates.
    add_action( 'genesis_post_content', 'genesis_do_post_content_nav', $priority);

    The Socializer links are appended to the content directly using this filter:

    add_filter('the_content', array($wpsr_content_op, 'output'));
    add_filter('the_excerpt', array($wpsr_excerpt_op, 'output'));

    I disagree that this is necessarily a “theme problem”. Regardless of the setting of $priority, it is not possible to add post-links or other content between the Socializer links and content using add_action. Instead, the Socializer links must be stripped off the content and re-added separately, which is significantly more complicated to do cleanly. I spent some time trying to figure this out but wasn’t able to do it before I had to move on.

    On a future revision, I’d suggest considering changing the Socializer link insertion code to account for post-links, or allow more flexible insertion.
    Thanks again for the great plugin!

    Cheers,
    Jaime

    https://www.ads-software.com/plugins/wp-socializer/

  • The topic ‘Move Socializer Under Post-Links Revisited’ is closed to new replies.