Google Analytics Custom Definitions

…using map polygons. Scope: Session Ad Blocker Detects if the user is using ad blocking scripts (Note: Be certain the scope is not set to “hit”!). Scope: Session Notable Browser

scss_post_compile()

Reduces theme path comment lines (in both parent and child themes). Adds a processed timestamp at the end of the file. Can be hooked into with nebula_scss_post_compile to add more…

Finding an Deregistering Assets Manually

…the filename you want to remove and note the ID. Hypothetically, if we want to deregister a WP Bootstrap Gallery resource, the ID may be id=”wp-bootstrap-gallery-css“. The “-css” (or “-js”…

bootstrap()

This checks the Bootstrap Version set in Nebula Options.

Contact Form 7

…disables the Contact Form 7 CSS resources in favor of Bootstrap (and it’s own style overrides). If the CF7 CSS files are desired, you can follow these instructions to re-enable…

add-color-class()

This mixin creates 4 classes to use with or without Bootstrap elements (where “name” below is replaced with the first parameter): Bootstrap elements: .btn-name .btn-outline-name .bg-name Additional helper classes: .border-name…

isInView()

This will return true even if a sliver of the element is in the viewport. It will also work if the element extends both above and below the viewport (if…

selectText()

This function has been deprecated in favor of the Async Clipboard API….

Adding URLs to the JSON Speculation Rules API

…filter! }); Documentation: https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API Browser Support: https://caniuse.com/mdn-html_elements_script_type_speculationrules   Please note that Nebula does preload links on hover, which this JSON can also natively support. See the documentation for those details….

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!