Timeline for How can i do something after head like adding a hook for after head but before post
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 14, 2019 at 11:10 | answer | added | AaronJ | timeline score: 0 | |
Dec 27, 2013 at 19:37 | history | tweeted | twitter.com/#!/StackWordPress/status/416654210919563264 | ||
Dec 27, 2013 at 19:20 | answer | added | MadtownLems | timeline score: 0 | |
Dec 27, 2013 at 15:56 | vote | accept | Neta Meta | ||
Dec 27, 2013 at 15:56 | comment | added | Neta Meta | Crap my above question was idiotic.. i will create my own.. and place is after wp_head().. thanks | |
Dec 27, 2013 at 15:44 | comment | added | Neta Meta | I see so basically it would be just like placing a call for the above function somewhere in the theme. | |
Dec 27, 2013 at 15:43 | comment | added | birgire |
well, you can place your own hook anywhere you want, but then it would be smart to do it via child theme just as @s_ha_dum is suggesting. Just add this line where you want <?php do_action('my_breadcrumbs_hook'); ?>
|
|
Dec 27, 2013 at 15:40 | comment | added | Neta Meta | ok but how will i make sure it comes out after header ? | |
Dec 27, 2013 at 15:39 | answer | added | s_ha_dum | timeline score: 4 | |
Dec 27, 2013 at 15:38 | comment | added | birgire |
What about adding your own do_action('my_breadcrumbs_hook'); into your theme?
|
|
Dec 27, 2013 at 15:26 | history | asked | Neta Meta | CC BY-SA 3.0 |