inc/enqueue.php¶
-
largo_enqueue_js
()¶ Enqueue our core javascript and css files
Since: 1.0 Global: LARGO_DEBUG
-
largo_gallery_enqueue
()¶ Enqueue Largo gallery CSS & JS
Since: 0.5.5.3
-
largo_enqueue_child_theme_css
()¶ Enqueue Largo child theme CSS
Since: 0.5.4
-
largo_enqueue_admin_scripts
()¶ Enqueue our admin javascript and css files
Global: LARGO_DEBUG
-
largo_header_js
()¶ Determine which size of the banner image to load based on the window width
Since: 1.0
Additional scripts to load in the footer (mostly for various social widgets)
Since: 1.0
-
largo_google_analytics
()¶ Add Google Analytics code to the footer
You need to add your GA ID to the theme settings for this to work.
Through version 0.5.5.4, this function output a Google Analytics tag even if the site didn’t have GA configured in the theme. This tag was used to send GA tracking events to properties for INN and for the Largo Project.
In this current version of the plugin, it only outputs a GA tag if you’ve added a GA ID to the theme settings. If you’re using a different GA script, leave that setting blank.
If you’re using Largo, please send us an email to say hi! https://labs.inn.org/contact/
Since: 0.3
-
largo_gutenberg_frontend_css_js
()¶ Enqueue Largo’s Gutenberg-supporting stylesheets and scripts, for the frontend
Since: 0.6
-
largo_gutenberg_editor_css_js
()¶ Enqueue Largo’s Gutenberg-supporting stylesheets and scripts, for the admin editor
Since: 0.6 See: https://wordpress.org/gutenberg/handbook/blocks/writing-your-first-block-type/#enqueuing-block-scripts