Social Media Icons - by lunarickcanez - on WordPress WooCommerce support

This topic has 8 replies, 4 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp

  • Avatar: lunarickcanez
    lunarickcanez
    Participant
    October 9, 2015 at 01:12

    I’m using the Royal Theme and have our social media icons on the bottom of the menu on the homepage. How / where do I add the links to the icons and can I move them from their present location to another area or to another page.
    Here’s the site : http://fermatamediagroup.com/

    Thank you!

    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 9, 2015 at 07:27

    Hello,

    You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), to change links you need edit the code, for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank"> and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.' with a link to your Twitter account.

    To add icons to other page you can use shortcode [share].

    Best regards,
    Jack Richardson.

    Avatar: lunarickcanez
    lunarickcanez
    Participant
    October 10, 2015 at 06:19

    Hello Jack

    Thank you for the info. Before I attempted to modify, I got these error messages:
    Warning: Cannot modify header information – headers already sent by (output started at /home2/eljefe44/public_html/fermatamediagroup.com/wp-content/themes/royal/framework/shortcodes.php:2382) in /home2/eljefe44/public_html/fermatamediagroup.com/wp-includes/pluggable.php on line 1207

    Warning: Cannot modify header information – headers already sent by (output started at /home2/eljefe44/public_html/fermatamediagroup.com/wp-content/themes/royal/framework/shortcodes.php:2382) in /home2/eljefe44/public_html/fermatamediagroup.com/wp-includes/option.php on line 787

    Warning: Cannot modify header information – headers already sent by (output started at /home2/eljefe44/public_html/fermatamediagroup.com/wp-content/themes/royal/framework/shortcodes.php:2382) in /home2/eljefe44/public_html/fermatamediagroup.com/wp-includes/option.php on line 788

    Hostgator tried repairing it three times. The site reverted back to default. I reactivated the theme and then when I tried to log into the dashboard I got the error messages again.

    I logged out and refreshed. I tried logging back in to the wp login url and got the first error message : Warning: Cannot modify header information – headers already sent by (output started at /home2/eljefe44/public_html/fermatamediagroup.com/wp-content/themes/royal/framework/shortcodes.php:2382) in /home2/eljefe44/public_html/fermatamediagroup.com/wp-includes/pluggable.php on line 1207

    I was unable to access / log in at all.

    Is there an update I missed? Please help!!

    Thank you
    Rick

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 10, 2015 at 06:44

    Hello

    Please provide us also with ftp credentials.

    Regards,
    Brian Johnson

    Avatar: lunarickcanez
    lunarickcanez
    Participant
    October 10, 2015 at 20:21

    See Private content for log in info.

    Thank you
    Rick

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 08:07

    Hello,

    Please also give us links which you want to set for the icons.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: lunarickcanez
    lunarickcanez
    Participant
    October 13, 2015 at 22:08

    Still getting previous error messages on Dashboard. Links to social media in Private Content.

    Thank you
    Rick

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 14, 2015 at 08:37

    Hello,

    The error has been fixed and I’ve edited shortcodes.php file and added your links for the icons.
    Please check them.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.