Viko885
Forum Replies Created
-
Thanks for the patience Javier you’re the star. It works!
I enqueued the JS file as you suggested and admin pages are back to normal again.
function fos_enqueue_style() { wp_enqueue_script( 'underscore', get_stylesheet_directory_uri().'/js/underscore-min.js'); } add_action( 'admin_enqueue_scripts', 'fos_enqueue_style' );
Sorry, I changed my site’s name to avoid spam. I sent you an email. Thanks for looking into it.
Hi and thanks for the reply.
I’m getting the error:
ReferenceError: _ is not defined $( '.tf-number input[type=number]' ).on( 'keyup', _.debounce( function() {
I realised I do not need to enqueue underscore.js as it is already included in my theme.
<script type="text/javascript" src="https://www.myweb.sk/wp-content/themes/pbs-theme/js/underscore-min.js?ver=1.0.0">
If you need to look into admin area on my site please let me know how can I forward login credentials to you safely.
Many thanks
I do no have Yoast SEO installed but facing exactly the same issue. In my case I’m not able to create custom menus or manage widgets in admin area.
@javfuller how did you install underscore.js? I downloaded it from the website as you suggested and copy it into \wp-content\plugins\titan-framework\js, but error persists. Am I missing something?
UPDATE: I enqueued underscore.js script via functions.php but the error still exists. Any ideas?
- This reply was modified 8 years, 1 month ago by Viko885.
Forum: Plugins
In reply to: [WooCommerce] How to style confirmation email – variation productSorry I have not. Good luck finding out and please post back if you crack it.
Forum: Plugins
In reply to: [GEO my WP] Change map markers based on post categoryThank you so much. I’ll have a go at it today and will post back the results.