Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3688183
Ajax Preloading Option
Closed

Comments

  • Peter started the conversation

    Hello,

    I wanted to ask if its possible to have a setup where the AJAX Megamenu will load automatically after the page has been loaded?

    This is because the loading of the site seems very slow and the perceived speed of the site would be much faster if the mega menu would automatically load either automatically after its done with everything else or a start loading it after X amount of seconds.

    thank you very much in advance

  •  2,660
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Logo & Header → Category Mega Menu → turn off the "Use AJAX Loading for Category Mega Menus" option.

    Regards,
    PenciDesign.


  • Peter replied

    Hello PenciDesign, 

    I want to use the AJAX Megamenu, but i would like it to load automatically after the initial site has loaded, so that the perceived loading by the user will be seamless.

    Extended Explanation:
    If i turn it off then the amount of queries is around 930+ which will make loading an uncatched page take 20 seconds. With the AJAX feature ON it takes around 6 seconds, but then the Mega Menu is super slow and this is why I am asking for this automatic slow loading ajax feature that will force the ajax to load without the user needs to hover his mouse coursor above the mega menu.

  •  2,660
    PenciDesign replied

    Hi,

    Unfortunately, the current version of Soledad doesn't support this feature. That's a good idea, and we'll consider adding it in a future theme update.

    Regards,
    PenciDesign.


  • Peter replied

    Hi PenciDesign,

    okay sound promising! 

    Meanwhile i can try to maybe find a solution through a 3rd party plugin but then i need the name of the javascript file which controls the AJAX mega menu, thanks in advance

  •  2,660
    PenciDesign replied

    Hi,

    You can't use third-party tools to force loading all the mega menu content via AJAX.

    I recommend you turn off the AJAX mega menu and use a cache plugin for your site.

    Regards,
    PenciDesign.


  • Peter replied

    Hi PenciDesign,

    Thank you for your responses regarding the AJAX Mega Menu in the Soledad theme. I understand from our discussion that the current theme version does not support automatic loading of the Mega Menu content post-page load, and I appreciate your suggestion to consider this feature for future updates.

    As I am exploring potential solutions to enhance user experience on my site, including possibly using a third-party plugin or custom development, I would greatly benefit from knowing the specific JavaScript file within the theme that handles the AJAX functionality for the Mega Menu. This information is crucial for me to correctly target the modifications or to inform any third-party developers accurately.

    Could you please provide me with the name of this JavaScript file or direct me to where I can find this information within the theme's structure?

    Thanks for your assistance!

  •   PenciDesign replied privately