WooCommerce Sidebar Menu & Share Widget in Footer

This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson

  • Avatar: isonioybas
    isonioybas
    Participant
    June 27, 2016 at 22:24

    Hi everybody, we want that all the categories in the WooCommerce Sidebar Menu appear closed, as the image attached.
    WooCommerce Sidebar Menu
    On the other hand, we want to edit some attributes from the share widget (in the footer). For example, the target of the buttoms, the subject and the body of the email buttom, etc.
    Thanks in advance.
    Regards,
    Lucas

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: isonioybas
    isonioybas
    Participant
    June 27, 2016 at 22:27

    I copy the image again, because I didn’t do it well:

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 28, 2016 at 11:10

    Hello,

    1. I’ve edited the file wp-content/themes/woopress/js/etheme.js in line 1808 and commented the code
    $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
    Check the categories now.

    2. You need edit the file wp-content/themes/woopress/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.

    Best regards,
    Jack Richardson.

    Avatar: isonioybas
    isonioybas
    Participant
    June 28, 2016 at 20:18

    Thanks a lot for the sidebar! I edited the shortcodes.php because we’d like the ‘pin it’ buttom opens the content in a new tab instead of in a new window as it happens now, although the target is “_blank”. I’ve tried changed that but the buttom has the same behaviour.
    I’ve also looked for that here https://developers.pinterest.com/docs/widgets/pin-it/ but I couldn’t find anything relevant.
    I appreciate you would help me with that.
    Thanks again.
    Best regards,
    Lucas

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 29, 2016 at 09:23

    Hello,

    As I see you’re using some 3rd-party plugin for Pinterest icon, aren’t you?
    You need check the plugin settings or disable it so our default code will be used.

    Best regards,
    Jack Richardson.

    Avatar: isonioybas
    isonioybas
    Participant
    June 29, 2016 at 15:52

    Ok Jack, thanks for your response!
    Best regards,
    Lucas

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 29, 2016 at 16:15

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

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

The issue related to '‘WooCommerce Sidebar Menu & Share Widget in Footer’' has been successfully resolved, and the topic is now closed for further responses

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