• I am trying to build a plugin that will insert coding into all themes above the <div id=”main”> tag.

    I have tried adding add_filter(‘the_content and ‘the_title’ …. however they just sill place the coding within the <div id=”main”….. any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter plugindev82

    (@plugindev82)

    I have found a Jquery solution! If anyone else needs it

    $( "#mycustomdiv" ).insertBefore( "#main" );

Viewing 1 replies (of 1 total)
  • The topic ‘Install Content before Main Content Div on all themes with plugin’ is closed to new replies.