Add Share button for every reply for bbPress
-
In bbpress/templates/default/bbpress/loop-single-reply.php
there are several hooks, which could be use for adding social sharing links, for example this hook:
do_action( ‘bbp_theme_before_reply_content’ );By using some hook it would be possible to create this kind of view:
bbp_author_ip( bbp_get_reply_id() you can get ther id of the reply and use that as the address, which share with this plugin. That would give more precise sharing as just using the address of the page without an anchor.
_________________
If you don’t have interest to use some hook, could I get some idea, how to define correct link for Twitter and LinkedIn.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add Share button for every reply for bbPress’ is closed to new replies.