Adding div to WordPress page content
I am wondering if there is a way to add div
to specific elements in the WordPress page content?
For example, I would want to wrap a div around content starting at a H2 element and ending after an img
element. The div
should have custom classes assigned to them.
Is there anyway to do this? I don’t want to have to hard-code the div
so that other people can easily edit the page content.
Thanks!
$299 Affordable Web Design WordPress
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.