WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to set priority to java elements (2 posts)

  1. dasfgh
    Member
    Posted 1 year ago #

    I have some experience with wordpress, I'm running a site, but I'm not really an expert, can someone help me to solve this problem?

    I had 4 java elements on my index page (if that's how they should be called)
    1. The feature slider
    2. The Yahoo weather plugin in a sidebar
    3. Slimstat plugin
    4. java analog clock.

    Everything worked fine, however, for some reason the weather widget and the clock failed to load from time to time. That messed my index page: in such case the slider is dead because it waits for those previously mentioned elements to load. The post excerpts are not loaded. I turned off the weather plugin and everything works fine.

    Before i get rid of it, is it possible to somehow set the priority, so that the feature slider loads first, while the weather plugin and the clock load last. In such case, everything will be loaded properly and if the weather widget or the clock malfunction for some external reasons, they will not mess everything.

    The priority should be like this:
    First load the slider
    Then load the statistics tool
    then the weather report
    and the clock
    Now it loads the elements from left to right, which means that those in the left sidebar load first. If they fail, everything else is stucked and waits for them

    How to set this properly and where? Thank you very very much.

  2. dasfgh
    Member
    Posted 1 year ago #

    I think I solved it by using the Lazy Widget Loader plugin, but i will see how it will work

Topic Closed

This topic has been closed to new replies.

About this Topic