olmanz
Forum Replies Created
-
Hello,
Solution above does not work anymore after various update (theme, add-ons..)
————-
add_action(‘wp_enqueue_scripts’,’dequeue_my_css’, 9999 );
function dequeue_my_css() {
wp_dequeue_style(‘um_ui’);
wp_deregister_style(‘um_ui’);
}
————I get an error message =>
Warning: Use of undefined constant ‘wp_enqueue_scripts’ – assumed ‘‘wp_enqueue_scripts’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 15
Any idea on how to solve the issue ?
thank you
Forum: Plugins
In reply to: [RPB Chessboard] Issue when displaying floating diagramHello,
The topic was solved after the help of the Ultimate Member team. See below what was done:
In “functions.php” add the below code (important to be copy-pasted in plain text)
add_action(‘wp_enqueue_scripts’,’dequeue_my_css’,9999);
function dequeue_my_css(){
wp_dequeue_style(‘um_ui’);
wp_deregister_style(‘um_ui’);
}Hello, it works perfectly fine.
thank you a lot for your help
OlivierThank you. There are no more code errors in plain text. But that does not solve the issue. The same display problem with jquery remains.
Forum: Themes and Templates
In reply to: [ColorMag] Custom Link in new tabHello,
Thank you. It workshops perfectly !
Best regard
OlivierI tried to insert the code but got an error I message:
Warning: Use of undefined constant ‘wp_enqueue_scripts’ – assumed ‘‘wp_enqueue_scripts’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 18
Warning: Use of undefined constant ’dequeue_my_css’ – assumed ‘’dequeue_my_css’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 18
Hello,
Thank you for your message.I added below code in functions.php but it did not work
————–
add_action(‘wp_enqueue_scripts’,’dequeue_my_css’);
function dequeue_my_css() {
wp_dequeue_style(‘um_ui’);
wp_deregister_style(‘um_ui’);
}Any idea on how to solve the issue?
thank you
Hello, thank you. That works !