WraithKenny
Forum Replies Created
-
Thanks for letting me know!
Make sure the Screen Options (upper right) is set to show Scripts n Styles. Otherwise, check for javascript errors or plugin incompatibilities.
Forum: Plugins
In reply to: [Scripts n Styles] same multiple input fields in global settingsIt’s probably a plugin conflict/javascript error.
Forum: Plugins
In reply to: [Scripts n Styles] How to add code to body of pageUse a “Hoop” and place the shortcode in the post body.
Forum: Plugins
In reply to: [Scripts n Styles] jQuery doesn’t loadjQuery, loaded by WordPress, isn’t loaded with the $ variable available. Use a wrapper like,
jQuery(function($){
// Your code here, executed on pageready
$(‘body’); // Works.
});Forum: Plugins
In reply to: [WooCommerce Admin] ACF conflict on Category pagesCool
Forum: Plugins
In reply to: [WP Notification Bars] Bug: Select2 v3 js errors with ACFI’m pretty sure the solution here actually breaks the ability to use the notification select, because the api changes from 3.5 to 4.0.
Other popular plugins that this conflict happens with: WooCommerce, TheEventsCalendar, and anyone else using select2 on an admin screen.
The only solution is to wait for the developer to update their code to use 4.0, and enqueue it as ‘select2’ (to share) or encapsulate it (bundle with a module loader).
As for me, I’m deleting the plugin, and writing a custom notification with ACF, which is what I should have done in the first place.
Forum: Plugins
In reply to: [WP Notification Bars] Bug: Select2 v3 js errors with ACFIt’d be great if they could fix this in the plugin instead of us replacing javascript files manually…
Forum: Plugins
In reply to: [Scripts n Styles] Error in getMCEBodyClassesThanks for posting this, I’ll look into what’s causing it this weekend!
Forum: Plugins
In reply to: [Scripts n Styles] Scripts n Styles in the middle of postYes, a screenshot would help, if you could!
Forum: Plugins
In reply to: [Scripts n Styles] Not able to Display pagesYou’ll probably want to use the “Shortcodes” tab. You can write HTML there (including script tags) and then paste the shortcode into the editor where you want it.
Forum: Plugins
In reply to: [Scripts n Styles] Permissions – allow Editor access to scriptsThe plugin checks for
unfiltered_html
for individual pages, andmanage_options
for site wide options.You’d have to elevate the editor role’s permissions but that would defeat the purpose of downgrading them to editor… You might just want to let that particular client have access to an admin account, but warn them they should use the editor account for everything else.
Forum: Plugins
In reply to: [Scripts n Styles] Register JavascriptsThe plugin doesn’t let you upload and register actual javascript files. That feature is for, if for example you need jQuery UI, enqueuing dependent scripts that are registered by Core, a theme, or a plugin.
Yeah, the plugin no longer works on images output with
wp_get_attachment_image
or its some conflict with the isotope library or the scrollify library. What ever it is, I’m sticking with 1.4.9 until I can just rewrite the javascript and skip this plugin altogether.Forum: Plugins
In reply to: [ShareThis Share Buttons] Allow javascript when activeThe buttons are disabled, yet the CSS and JavaScript are still enqueued, which Google dings our PageSpeed/SEO for downloading assets.