egornmore
Forum Replies Created
-
Hello, having same issue, rolled back to 1.4.9 and managed to edit map markers.
Forum: Themes and Templates
In reply to: [Neve] Palette Switch in IncognitoThanks!
Forum: Plugins
In reply to: [WP Crontrol] wp_ajax_ hooksGot it, thanks for your time!
Forum: Plugins
In reply to: [AMP] amp-worker.js Cannot access ‘t’ before initialization@westonruter thank you
Forum: Plugins
In reply to: [AMP] amp-worker.js Cannot access ‘t’ before initialization@westonruter Thanks for your answer! Rolled back to Version 2.4.1 until the bug is fixed.
I am using Advanced Post Block on one page only, so I don’t want to load unwanted scripts on pages where the plugin is not used.
Already figured out how to remove swiperJS and easyTicker:
function dequeue_post_block_scripts() { if( ! is_page( array( 1490, 13843 ) ) ) { wp_dequeue_script( 'swiperJS' ); wp_deregister_script( 'swiperJS' ); wp_dequeue_script( 'easyTicker' ); wp_deregister_script( 'easyTicker' ); } } add_action( 'wp_print_scripts', 'dequeue_post_block_scripts' );
Can you please guide me how I can dequeue plugin’s CSS?
Hello everyone, having similar issue
My setup:
– WP v6.2
– Neve theme
– Official AMP plugin v2.4.1
– WPForms v1.8.1.2Forum: Plugins
In reply to: [Multi Step for Contact Form 7] Dequeue Scripts/StylesHi @mialewp that solution works for me, thanks!
Also added animate and progress bar styles:
add_action( 'wp_enqueue_scripts', 'remove_cf7mls_scripts_and_style' );
function remove_cf7mls_scripts_and_style() {
if(!is_page($id)) {
wp_dequeue_style('cf7mls');
wp_dequeue_script('cf7mls');
wp_dequeue_style('cf7mls_animate');
wp_dequeue_style('cf7mls_progress_bar');
}
}Forum: Plugins
In reply to: [Multi Step for Contact Form 7] Dequeue Scripts/StylesTried
wp_dequeue_style( 'cf7mls-css' );
,wp_dequeue_style( 'cf7mls' );
,wp_dequeue_script( 'cf7mls' );
but styles and scripts still there- This reply was modified 1 year, 9 months ago by egornmore.
Forum: Plugins
In reply to: [Multi Step for Contact Form 7] Dequeue Scripts/StylesHi @mialewp,
I can target the page manually, by is_page(id). Should dequeue be something like that –
remove_action('wp_enqueue_scripts', 'cf7mls', 20, 0);
?Forum: Plugins
In reply to: [AMP] Sanitizer for amp-mega-menuThanks!
Forum: Plugins
In reply to: [AMP] Loader Styling@milindmore22 In the official documentation it says
This indicator is used by amp-list, amp-iframe, amp-video, and any other components that talk to an endpoint.
, the
amp-image
component doesn’t talk to an endpoint, right?Forum: Plugins
In reply to: [AMP] Invalid inline script@westonruter
Removing an action works for me, I can enable and disable it to clear errors, thank you!Forum: Plugins
In reply to: [AMP] Invalid inline scriptMade some tests and you are right, preview mode causing an issue. Maybe that can be fixed with a sanitizer to disable
wp_post_preview_js
validation or another workaround?Forum: Plugins
In reply to: [Front End Users] Can’t logout@fr3ud3nb3rg
I ended up using [login] and [logout] shortcodes instead of [login-logout-toggle]. Maybe a plugin conflict caused this problem but I never figured it out.