Support » Plugin: Refer A Friend for WooCommerce by WPGens » refer link on My Account page

  • Resolved wpbetsy

    (@wpbetsy)


    I see that the refer link appears on My Account page of users. However, where can I put description text to tell what they will get by sharing the refer link and refer a friend? How can I tell the users?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    This is what I did after I discovered that the refer link only appears on the account page. See this site.

    https://evergreenurbangarden.com/?page_id=1815

    This is just an idea. If you have better ones, please share.

    Can users put description text above the referral link?

    Plugin Author Goran87

    (@goran87)

    Hi,

    when you edit that page, my account page, put it before the shortcode.

    If I put it before the shortcode on my account page, the text just showed above the menu.

    Please check it here: https://imgur.com/a/Rk30x0q

    How can I put text just above the referral link?

    Plugin Author Goran87

    (@goran87)

    Hey betsy,

    use action filter, in this case it would be woocommerce_before_my_account

    so something like:

    add_action(‘woocommerce_before_my_account’,’my_function’,1);

    function my_function(){
    echo “Some text here”;
    }

    You should add that inside functions.php file. Just make sure you have FTP access in case something goes wrong, you can edit it via FTP.

    • This reply was modified 10 months ago by Goran87.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘refer link on My Account page’ is closed to new replies.