logo()

This function prioritizes in the following order: A custom function that hooks into `nebula_logo` (an image file URL is the expected return) Customizer on sub-page when that one-color logo checkbox is selected Customizer on home page when that one-color logo checkbox is selected Customizer full color logo Child theme logo (SVG or PNG) Parent theme Read More »

estimated_reading_time()

This returns the estimated reading time in minutes for an average of 250 words per minute reading speed. Note: Be sure to hook custom fields into the Nebula word_count() function to get an accurate estimate! Read More »

word_count()

This can be useful for use with custom dimensions in Google Analytics on articles. Be sure to hook in custom fields so they can be included in the word count! It is recommended to add each custom field individually (rather than looping through all fields) to be sure that only contentful output is included. Read More »

is_analytics_allowed()

This checks several conditions to determine if analytics should be enabled for this rendering. Conditions that do not allow analytics: If "Do Not Track" header is present and the Nebula option is set to comply with that request If within the WordPress Customizer If the query string is present If the current IP address matches Read More »

is_do_not_track()

This looks for the HTTP header "HTTP_DNT" which may not be present in Microsoft Edge even when DNT is enabled. This feature, while technically supported in all browsers, is not consistently implemented across them yet. Remember: A return of "false" means the browser is allowing tracking. A return of "true" means the user has requested Read More »

limit_image_size()

Original size of this test image is 7360x4545. This image is loaded via the WYSIWYG editor from the media library. When this will not control output image sizes: This function listens for sizes to be used and limits them. Therefore there are plenty of situations where this will not limit output image sizes. If the Read More »