• Resolved Attacking3rd

    (@attacking3rd)


    It seems as if the tabs will only display when I am logged into WordPress. When I am not logged into WordPress just the text of the tab content displays. However, this seems somewhat inconsistent as sometimes when I am not logged in to WordPress the tabs will display correctly.

    One potential cause might be that I am using a plugin called (Spots). A spot is similar to a text widget and I am using it on the home page to allow the client to maintain the content for that part of the page.

    The tab shortcode is inside a spot.

    I had a similar issue with using the theme’s slideshow shortcode in a spot. The theme author suggested adding add_filter('widget_text', 'do_shortcode'); to functions.php (as suggested here) but that did not seem to have any effect. (Although I think perhaps ‘widget_text’ in the filter needed to be replaced with a reference to the spots widget – which I could not determine what that reference should be).

    So I tried using the shortcode on a page that did not use a Spot and it seems to consistently work correctly regardless of if I am logged in or not.

    Questions:
    1. Have you run into this before and do you know what the fix is?
    2. Can you recommend any additional troubleshooting I can do? (I have tried disabling all the plugins, changing themes, etc).

    Here is a link to the site

    Thanks

    https://www.ads-software.com/plugins/tabby-responsive-tabs/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cubecolour

    (@numeeja)

    To confirm whether the issue only occurs when the tabs are in a ‘spot’, can you try the tabby shortcodes in a normal post or page? I am not clear on whether you already tried this for the tabs or for the slideshow shortcode only.

    If the tabs work anywhere except in a spot, this will indicate that the spots plugin should be investigated closer, however if tabs doesn’t work on your posts or pages either, it will indicate that other factors will also need to be investigated.

    The spots plugin documentation mentions that it does some kind of caching I would suggest investigating this feature first – follow the directions on that plugin’s documentation to turn off the cache to see whether that changes anything. I believe this can be achieved by adding the following line to your functions.php:
    define('SPOTS_CACHE_TIME', 0);

    Thread Starter Attacking3rd

    (@attacking3rd)

    Thank you for your suggestion. I added the code to my functions.php and it seems to have resolved the problem. Thank you!

    The server the WordPress site is hosted on has a Delete Cache link at the top of the page when logged into WordPress. I was using this link expecting it to do the same thing as the code you suggested I add but apparently it does not. I should have tried this code instead of making that assumption. Sorry to waste your time.

    Thanks for a very nice plugin and the support.

    Plugin Author cubecolour

    (@numeeja)

    I’ve never used the spots plugin, so I’m glad I was able to find out about the SPOTS_CACHE_TIME constant in the documentation and that setting it worked for you.

    If you would like to leave a review of Tabby Responsive Tabs, feel free to do so at: https://www.ads-software.com/support/view/plugin-reviews/tabby-responsive-tabs

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tabs only seem to display when logged into WordPress’ is closed to new replies.