Can WPCode target a specific div/class?

Hello WPCode,

Is this plugin able to insert code before/after a specific div class on a website? Basically we have a lot of subpages that is built like this:

<div class="hero-section">Content</div>
<div class="section-1">Content</div>
<div class="section-2">Content</div>
<div class="section-3">Content</div>

We’d like a plugin that’ll allow us to easily add a code snippet after the first hero-div on all pages, like this:

<div class="hero-section">Content</div>
<div class="newdiv">New Content</div>
<div class="section-1">Content</div>
<div class="section-2">Content</div>
<div class="section-3">Content</div>

I hope my question makes sense. I’ve tried reading the documentation, but we’re not that technical, so I am unsure if it’ll fit our needs. Thank you in advance!

  • This topic was modified 19 minutes ago by Brian B.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer