Achievements for WordPress
[resolved] Remove the Facebook and Twitter Link (4 posts)

  1. mrjarbenne
    Posted 3 years ago #

    I've looked everywhere except where this is... Can someone point me in the direction of the code that adds the Share with your friends on Twitter and Facebook from the redemption certificate?


  2. mikebronner
    Posted 3 years ago #

    Copy the function dpa_feedback_achievement_unlock_wrapper() from /plugins/achievements/templates/achievements/achievements/feedback-achievement-unlocked.php to functions.php in your child-theme. Then update the function as needed, i.e. remove the social links.

    This should work - not tested.

  3. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    You could... or...

    Copy /achievements/templates/achievements/achievements/feedback-achievement-unlocked.php to /themes/YOUR_THEMES/achievements/feedback-achievement-unlocked.php, and then edit that new file to suit your requirements.

    The new file will override the version that comes bundled with the plugin.

  4. mrjarbenne
    Posted 3 years ago #

    Sweet. Thanks Paul. Just got a chance to mess around with this. Added it to the child theme and I'm good to go.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Achievements for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic