Timeline for Apply function.php filter only if url not has /amp/
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 9, 2021 at 21:48 | vote | accept | user3418508 | ||
Feb 8, 2021 at 9:57 | comment | added | user3418508 |
Thanks for helping, i will use this code inside function.php, my code in function.php function disable_scripts_styles() { wp_dequeue_style('publisher'); wp_dequeue_style('better-framework-main-fonts'); } add_action('wp_enqueue_scripts', 'disable_scripts_styles', 100); and the url is sitename.com/article/amp so i dont apply this function if the url has amp
|
|
Feb 8, 2021 at 8:43 | history | edited | Mirajul Momin | CC BY-SA 4.0 |
added 27 characters in body
|
Feb 8, 2021 at 8:37 | history | edited | Mirajul Momin | CC BY-SA 4.0 |
added 27 characters in body
|
Feb 8, 2021 at 8:30 | history | answered | Mirajul Momin | CC BY-SA 4.0 |