Timeline for How to inject html to every page with a plugin?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 23, 2016 at 6:44 | comment | added | majick |
why not use wp_footer instead of wp_head , that is inside the body at the bottom of the page. if it is just for a script and you don't care where the content outputs that would be ideal.
|
|
Mar 22, 2016 at 23:35 | comment | added | g.pickardou | @mmm: It does not depend on the body content | |
Mar 22, 2016 at 23:21 | answer | added | NiviJah | timeline score: -2 | |
Mar 22, 2016 at 23:05 | comment | added | mmm | does the injected html depend of the body content or it can be calculated before the generation of the body ? | |
Mar 22, 2016 at 23:00 | comment | added | czerspalace |
You may want to take a look at the WordPress the_content filter developer.wordpress.org/reference/functions/the_content
|
|
Mar 22, 2016 at 22:48 | history | asked | g.pickardou | CC BY-SA 3.0 |