Timeline for How do you completely remove the default header and footer using functions.php?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2019 at 3:09 | comment | added | Anonymous |
I have tried adding remove_action to functions.php matching the priority of the original add_action in default-filters.php , but it still doesn't work.
|
|
Jun 10, 2019 at 20:37 | comment | added | WebElaine | You may want to double-check whether your host has caching enabled, or whether your functions may need a priority added to get them to fire after other code runs. | |
Jun 10, 2019 at 20:36 | comment | added | WebElaine |
If you don't have wp_head() , Elementor itself won't have a hook to include the required JS and CSS. Keep looking into functions to remove the extra data - that remove_action works for me with WP 5.2 - and if you run into any CSS or JS that plugins are adding and you need to remove, find out what they're called when they're enqueued, and you can dequeue and deregister them to keep them out of the rendered code.
|
|
Jun 10, 2019 at 16:07 | vote | accept | Anonymous | ||
Jun 10, 2019 at 14:05 | history | answered | WebElaine | CC BY-SA 4.0 |