Twitter and loop-single-reply.php – Can't make the counter work
I’m trying to add a Twitter share button in the loop-single-reply.php so the button appears before each reply’s content:
<?php do_action( ‘bbp_theme_before_reply_content’ ); ?>
**** [HERE the twitter share button code] *****
<?php bbp_reply_content(); ?>
using the Twitter data-url parameter as: data-counturl=”<?php echo bbp_get_reply_url(); ?>
PROBLEM=SHARE WORKS+COUNTER DOESN’T: The button is sharing the page but not COUNTING. I tried to check everything around the twitter button, but I want to ask for your help in case the place and data-counturl is not correct for BBPRESS.
- You must be logged in to reply to this topic.