Satch3000 Satch3000 - 1 month ago 11
CSS Question

wordpress pre and post content add div

I am styling a wordpress theme / template and I need to add a pre and post div to the content.

It would look something like this:

<div class="my-pre-content-div">This is added before the content</div>
<div id="content">
All Content Here
</div>
<div class="my-post-content-div">This is added after the content</div>


I need to do this globally so what pages do I need to modify please?

Thanks

Answer

There are a bunch of php files, most of which will be template files, in this folder:

wp-content/themes/[your theme name]/
Comments