Twitter widget not working and tabs closed by default on single product page

This topic has 4 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Stan Russell

  • Avatar: glenngtr
    glenngtr
    Participant
    August 19, 2015 at 22:44

    I have two questions:

    1. I have put my own twitter feed in the prefooter of my homepage but the tweets are not showing. I have created a developer account and entered the tokens and the keys like mentioned in your FAQ. I think I also set the permissions right as in the beginning it returned that error to me and later this was gone. However I cannot find a …code\cache folder in my theme folder to give the ‘777’ permission to. I see this mentioned several times on the support forum (for different themes). Maybe there is the solution?

    2. I want the extra tabs on the single product page to be closed by default when entering the page. Is there a simple way of doing that? Or a simple code for custom.css?

    If you want to check it out, be sure to check the first product (2 Phase R Eye Make Up Remover) in the store as I didn’t fill content for all tabs yet.

    Thanks in advance.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 20, 2015 at 09:32

    Hello,

    1. There were odd spaces in the fields for “Access Token”, “Customer Secret” and “Customer Key”, I’ve removed them and now Twitter feed is shown.

    2. To close first tab by default you need edit the file wp-content/themes/woopress/woocommerce/single-product/tabs/tabs.php and remove the code <?php if($i == 1) echo 'style="display:block;"'; ?> in line 45.

    Regards,
    Eva Kemp.

    Avatar: glenngtr
    glenngtr
    Participant
    August 20, 2015 at 10:03

    Thank you very much!

    Avatar: stan
    Stan Russell
    Participant
    August 20, 2015 at 10:38

    Hello glenngtr,

    you are welcome!

    Regards,
    Stan Russell.

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

The issue related to '‘Twitter widget not working and tabs closed by default on single product page’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

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.