Add a HTML Widget to your footer and place the content in there.
WordPress Admin > Appearance > Widgets.
I’ve just tested with the following JavaScript snippet and this works as expected.
<script type="text/javascript">
console.log('Hello World')
</script>
Related Posts:
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- Display encrypted content on my website
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- Redirect to another page using contact form 7? [closed]
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- Call javascript functions from each page
- Add a filter to a different custom plugin
- is_plugin_active function doesn’t exist
- Proper Way to Modify Plugin
- How to edit a wordpress plugin without break its update process
- Looking for a Table of Contents (TOC) plugin for WordPress
- WordPress Plugin Development In MVC Architecture, How?
- Where should I use get_option in a plugin
- GPL and plugins
- Content generator for development site [closed]
- Disable Specific Widgets on Selected Pages of a WordPress Website?
- Create page when plugin is activated
- How to show custom message once on plugin activation?
- Post source link plugin – small modification
- How to add users roles dropdown in registration in wordpress
- wp_schedule_event / cron_schedules – custom recurrence time not working in Plugin
- How to load a new template page according to a particular URL?
- WordPress network: set themes and plugins for new blog
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- How to edit plugin’s html? [closed]
- Can a plugin add to header/footer/body content?
- Has anyone used require.js for handling plugin scripts?
- plugings request url is the old url
- javascript onload calling a function of a plugin
- force customers to add only single item to card per purchase EDD [closed]
- Preventing BFA in WordPress without using a plugin
- Output HTML only on individual post view
- Manually add order item with fixed product_id in WooCommerce
- ‘Customize’ button in admin bar for CSS
- Auto delete WordPress users according to time
- How to load plugin after page is loaded – pagespeed issues
- Collapse content [closed]
- How to show Recent Page instead of Post?
- How would I go about creating a user ranked post popularity page?
- Overide plugin files from child theme (/inc/ ) folder
- add image crop function like in wp customizer
- Calculate price and display on woocommerce product single page under price (simple price, variable price) [closed]
- How to edit content before post update
- wp.media javascript issue with on select
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- External Domain on WordPress Multisite
- Advanced AJAX Page Loader ignores other JS code
- Front end inline editing?
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- Customize The Events Calendar to Include an Option to Expand for More Events Listings
- changing posts layout in ultimate member profile plugin
- How do i get file_get_contents to work in wordpress
- Plugin Development – Functions or Hooks?
- Add some fileds to the wp_posts table
- Add filter on html tags,attributes on specific function in wordpress
- Why are my WordPress store items showing up in duplicates?
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- JQuery needs to be defined in , but Gravity Forms is defining it in the
- Change Header (Logo) Based on Login
- wp_mail – using a custom field value
- Edit page header on a custom plugin
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- Custom content plugin for front page in wordpress
- Restrict posts to customers with complete WooCommerce orders only
- How to hide featured images of all posts falling under the same category in wordpress?
- Upload Javascript and json webpage to wordpress
- Give custom page template a custom post ID
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- Get the link title attribute and send it google analytics as custom label via google tag manager using beehive pro for WordPress
- Calling PHP function with AJAX
- Making a list that can be filtered by category/tags
- front end editor creation for Restropress plug in – displaying information from a WP admin area, on a different URL
- Custom Field used to allow a Free Story; no longer works
- Cron job shedules replace?
- Create a form and have custom menu display based on user answers?
- Enabling plugin on specific pages and subpages
- Customize plugin templates
- Widget display in theme
- How to use custom footer template in a site-plugin?
- How to print shortcode with js in visual composer?
- Customize a widget position
- How to hook into search results template or query?
- Can’t insert files in other inputs
- Pronamic Info Window
- Is it possible to run javascript on plugin deactivated?
- How do I output user_registered time in my correct timezone?
- Ajax in Plugins: returns the whole page
- From a legal perspective, is it okay to customize a plugin’s code?
- How to tweak a plugin without preventing it from updating
- Child Plugin Admin Panel
- Distribute post content through several divs [closed]
- Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]
- Defer parsing of JavaScript [duplicate]
- How do I put a word-press blog into my static site without installing wordpress on server?
- how to embed a crop feature for cropping images uploaded by the user
- Resources for building a custom event page template
- Product customizing quiz – quiz adding products to the cart
- How to make a Template page to show the information of different things Shop and Product page?