The 3rd parameter in the call to wp_register_script()
should be an array of dependencies – not a string.
Change this:
wp_register_script('fl-custom-js', get_template_directory_uri() . '/faq/faq.js', 'jquery-ui-accordion', '', true);
To:
wp_register_script('fl-custom-js', get_template_directory_uri() . '/faq/faq.js', array('jquery-ui-accordion'), '', true);
Related Posts:
- jQuery dialog popup
- How to change the text of a button in jQuery?
- jQueryUI dialog width
- How to use radio on change event?
- Form Submit jQuery does not work
- Slide right to left?
- Check if user is logged in using JQuery
- How to save the state of a drag and drop jQuery UI Sortables front end layout editor?
- jQuery UI Datepicker not working
- Custom function to rearrange attachments when creating posts – Almost there
- possible to make sections in theme customizer sortable and saveable at publish button clicked?
- Enqueuing jQuery in plug-ins
- How do I get my page to load the jQuery UI Effects library?
- Override default jquery ui library with newer version
- How to enable the content editor as a droppable target with jQuery-ui?
- Automatic jQuery accordion from header tags
- Jquery not showing in homepage
- Format numeric symbols in titles
- Override theme style with other CSS on a specific page
- Will the latest Bootstrap work properly with the default WordPress jQuery?
- Rhyzz Repeatable-fields javascript in php and wordpress
- WordPress + BlockUI or a splash page [closed]
- Return an array from get_terms and store as JavaScript array for search autocomplete
- Dukapress jQuery(“form.product_update”).livequery is not a function [closed]
- Which jQuery packages are included in WordPress 3.1.2?
- Good Solution for Adding jQuery Tabs Anywhere Within WordPress?
- Cannot enqueue jQuery correctly using Google CDN
- Adding jQuery UI elements to WordPress page
- Sorting WP Auctions by date/price?
- How to add custon UI jquery & Fancybox script to WP
- jQuery tabs plugin with callback to fetch data
- Jquery UI Google CSS, from where?
- datepicker for custom post type admin
- JQuery UI not loading without explicit loading of jQuery
- Is there a default way in wordpress to create a overlay in the dashboard?
- AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0
- Recommended Use of Bootstrap, or JQuery-UI in WP/plugin development?
- Screen Options JavaScript Code
- Drag and Drop Metadata Menu Order
- A carousel slideshow plugin in JavaScript
- jQuery UI Accordion loading very slow
- Theme style overrides the plugin style
- Slide toggle Jquery UI
- jquery Autocomplete
- why does so many javascript libraries are loaded along with my website?
- Dashboard controls have all stopped working
- How can I add a new lib path without call each one on the header?
- Sorting UL Listing Within the TinyMCE Visual Editor in WordPress
- jQuery dialog prints HTML-Tags under WordPress
- using jquery autocomplete in wordpress plugin
- Theme variation conflict with jquery select2 dropdown
- jQuery datepicker not showing on admin menu
- jQuery $(this) keyword
- jQuery Selector: Id Ends With?
- jquery loop on Json data using $.each
- Click button copy to clipboard
- How to read data From *.CSV file using javascript?
- jQuery get the image src
- how to define variable in jquery
- Enqueue core jQuery in the footer?
- How to correctly include jquery-ui effects on wordpress
- wp_mail script with jQuery post
- Including javascript for a shortcode
- adding the full image path to a wordpress javascript file
- Dropzonejs with WPCF7 [closed]
- Edit single attachment on click (WP-admin)
- gravity forms jQuery.load into modal [closed]
- Ajax, Permalinks and post_thumbnail
- First Attempt at AJAX and it keeps getting Canceled. Can’t Get Results to Show
- Enque Javascript in Footer?
- How to return multiple arguments from AJAX callback function
- JS news ticker is not working on home page but working on other pages. How to solve this?
- jQuery function not working
- Remove swfobject.js in wp_head()
- Wp theme Jquery conflict with plugins that use jquery
- Uncaught ReferenceError: jQuery is not defined: how to fix on a sunday? [closed]
- Loading external jQuery files with $
- fill form fields with ajax response
- Bootstrap modal with jQuery post [closed]
- echo do_shortcode for Contact Form 7 from within dynamically loaded php file
- How to declare/provide file path in JQuery which is emeeded in the WordPress theme
- Show More Show Less – Not Working
- How to make JQuery load on top of head tag before everything
- Trying to add google ad onclick to wordpress and Divi buttons and header link
- jQuery Plugin Uncaught TypeError: jQuery(…).slider is not a function
- $_POST empty in using new php file added to theme
- How to blur the_post_thumbnail() via blur.js (jquery)?
- Plugin preventing media buttons from working
- Uncaught TypeError: Cannot read property ‘ajax’ of undefined
- Using jQuery DataTables and yadcf
- :first-child applying to all links [closed]
- jQuery autcomplete not working
- Add jQuery function to media button
- Why won’t this jQuery work in WordPress?
- jQuery append only works if I select html in admin section [closed]
- jQuery color picker function on change
- Can’t get this jQuery snippet to work with WordPress
- Javascript Loading Effect to URLs
- jQuery Add/Remove Classes Not Working
- Can’t seem to check off a category checkbox with jquery?