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 it is really tall). This function also takes into account if the current window/tab is visible (focused). Read More »

uniqueSlugChecker()

This function will color the post slug in red when it ends in a dash and number. This can have false positives, so use judgement with this reference tool. Read More »

applyValidationClasses()

This function also removes Contact Form 7 validation classes (because CF7 classes are applied on submit of a form). Sidenote: To validate required menus, be sure the first has . Sidenote: Checkbox and radio validation in Bootstrap 4 only works with customized elements and as such is not included with Nebula live validation. Read More »

autocompleteSearch()

For an easier implementation, you could simply add the class to the search input. See autocompleteSearchListeners(). On keypress or paste, this function triggers nebula_autocomplete_search_start. On autocomplete success, nebula_autocomplete_search_success is triggered. When search results are available, nebula_autocomplete_search_results is triggered, otherwise nebula_autocomplete_search_no_results is triggered if no results are available. On AJAX error, this function triggers nebula_autocomplete_search_error. Read More »