Share buttons on product page - by iLivioSupport

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

  • Avatar: iLivioSupport
    iLivioSupport
    Participant
    November 30, 2015 at 06:24

    Hi,

    Just q Quick question, how do i edit which share icons appear in the single products page, I know how to turn all of them off or on, but not the individual ones. I attached an image below.

    Also for the Shop, how di i get rid of the 2 blank category icons that appear before the actual products. Image also attached.

    Thanks,
    Kevork

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    November 30, 2015 at 07:35

    Hello

    To edit share icons please edit file wp-content/framework/shortcodes.php at line 1918. Please specify what icons would you like to edit on shop page.

    Regards,
    Brian Johnson

    Avatar: iLivioSupport
    iLivioSupport
    Participant
    November 30, 2015 at 08:44

    Hey Brian,

    I would like to remove the google plus icon, the rest are fine.

    I went through the .php is this the section i need to remove

    if($google == 1) {
            $html .= '
                    <li>
                        <a href="http://plus.google.com/share?url='.$permalink.'&title='.$text.'" title="'.__('Google +', ET_DOMAIN).'" target="_blank">
                            <i class="ico-google-plus"></i>
                            <svg width="38" height="38" xmlns="http://www.w3.org/2000/svg" class="circle">
                                    <circle cx="19" cy="19" r="18" fill="rgba(255,255,255,0)" stroke="#000000"></circle>
                            </svg>
                        </a>
                    </li>
            ';
        }
    

    Also any answer regarding the issue with the shop, there are blank squares with categories that appear before the actual products that i would like to remove. any help would be appreciated. (http://ilivio.com/shop/) the first 2 items on this page is what im refering to.

    Thanks,
    Kevork

    Avatar: Eva
    Eva Kemp
    Participant
    November 30, 2015 at 10:28

    Hello,

    You can remove that code if you need it or comment it.
    To remove 2 categories go to Woocommerce > Settings > Products > Display > Shop Page Display and select “Show products”.

    Regards,
    Eva Kemp.

    Avatar: iLivioSupport
    iLivioSupport
    Participant
    November 30, 2015 at 10:35

    That did the trick, Appreciate it.

    Avatar: Eva
    Eva Kemp
    Participant
    November 30, 2015 at 10:41

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Share buttons on product page’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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