Remove P tag?
-
This plugin does exactly what I want – except that it adds a <p></p> tag around the content. Is there a way to eliminate this?
Here’s my exact planned usage, in a page template, where I want a common phrase prepended before the page title.
<h1><?php echo do_shortcode(“[contemplate-1]”); ?><?php echo get_the_title(); ?></h1>
What I’m hoping to achieve:
<h1>Common phrase: Title of the Page</h1>
However, the result is:
<h1><p>Common phrase:</p> Title of the Page</h1>
Even if I use div tags within Contemplate, it still moves the Title underneath, instead of allowing the Title to simply come right after the common phrase.
Any help you can offer is wonderful. Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove P tag?’ is closed to new replies.