WordPress.org

Forums

postTabs
postTabs loads ALL the content? (8 posts)

  1. poijkl
    Member
    Posted 10 months ago #

    Hi,

    I have my postTabs on permalink. It works fine, however, the page will load ALL the content, even contents inside tabs that are not "active" or clicked on. What's the point of having a permalink option where the page reloads, if all the content of ALL tabs is loaded at the same time?

    When someone clicks on a post, I want ONLY the tab that the user is on "loaded". I do not want the contents inside the other inactive tabs being loaded. How do I go about doing this?

    https://wordpress.org/plugins/posttabs/

  2. poijkl
    Member
    Posted 10 months ago #

    any suggestions?

  3. leogermani
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Is it possible to share the URL so I can have a look?

    Leo,,

  4. poijkl
    Member
    Posted 10 months ago #

    I've just replied to your email with the URL.

  5. leogermani
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    The easiest way is to disable the auto-load of your videos. The content of the tabs are loaded but hidden. Usually the browser is smart and dont load the embeds when they are hidden. Im not sure what this particular case is...

  6. poijkl
    Member
    Posted 9 months ago #

    Hi.

    It's not just about the auto-load of the videos. I can disable the auto-load, it's not the problem.

    However, most video players also auto-start video ads (just like youtube video ads), and there is no way for me to disable their video ad. So what happens, the contents of all the tabs load, playing multiple video ads.

    "The content of the tabs are loaded but hidden" - is there anything I can change in the code of the plugin to NOT have the other tabs contents loaded?

    Not only will this help with my issue, but I think it's a great feature for the plugin, as this will slow down the load on a webpage drastically, especially when you have multiple tabs.

  7. leogermani
    Member
    Plugin Author

    Posted 9 months ago #

    Unfortunatly Its not possible not to load the content of the tabs easily. This would be almost like writing a new plugin from scratch.

    However Ive been using tabs with many videos in them without any problems...

  8. poijkl
    Member
    Posted 9 months ago #

    Thank you for your response to this issue, seems like there isn't much that can be done.

    It'll only happen with video players that auto load a video ad - video players that don't have a video ad that auto plays is not an issue - so this could be why you haven't had issues with it yourself. The majority of the videos I use on my website all have this autoload video ad feature. Also, the majority of complaints I get from my site's users seem to be chrome users - which makes me think that chrome does not have that feature where it's smart and does not load iframe codes that are hidden under a tab. Just something I thought you would like to know.

Reply

You must log in to post.

About this Plugin

  • postTabs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic