The most optimal way to load CSS and JS in Nebula

…stuff here using the loaded resource });</p> <p>nebula.loadCSS(nebula.site.resources.styles.nebula_jquery_ui); //Load the CSS file Notice the nebula.site.resources.scripts.nebula_jquery_ui and nebula.site.resources.styles.nebula_jquery_ui objects. That is where registered scripts and styles locations exist (from earlier in…

Animations

…Animations These animations happen once and then stop. nebula-fade-out nebula-fade-out-up nebula-fade-out-down nebula-fade-out-left nebula-fade-out-right nebula-fade-in nebula-fade-in-up nebula-fade-in-down nebula-fade-in-left nebula-fade-in-right nebula-zoom-out nebula-zoom-in nebula-reveal-in nebula-reveal-out nebula-stretch-in nebula-stretch-out nebula-flip-in-x nebula-flip-in-y nebula-flip-out-x nebula-flip-out-y nebula-tap nebula-push…

remote_get()

This is basically wp_remote_get() with a caching aspect. If a resource is unavailable, Nebula will not remotely request from that hostname for 10 minutes to maintain quick load times. Never…

nebula_session_id()

t:1502941358;dev:1;r:subscriber;uid:17;s:ffq669njdj9dnmpgcj2de8osp1;cid:1068816418.1487540422; Default Components t – Server-side UTC timestamp of the last pageview in the session. d – Debug mode p – Prototype mode cli – Client user (Matched by IP…

Get Started

This is a basic start-to-finish task list for developing a website in WordPress with Nebula. Installation Download Nebula Download and Install WordPress Upload Nebula (/wp-content/themes) Move the Child theme from…

prefetch()

This function will not prefetch resources for users on 2G connections or if the “Save Data” option is enabled….

loadJS()

Unlike jQuery getScript(), this function caches the JavaScript resource….

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!