jbrashear72
asked on
How do I get wordpress page content with no class or tags returned?
I want to bring back the content of a page into my home page. I have already styled the content the way I want it to look but when I load the URL I get the text inside <p> </p>
I already have:
<p class="text1">
PHP CODE HERE
</p>
The extra Paragraph tag is breaking my Paragraph Tag.
How can I fix this?
I already have:
<p class="text1">
PHP CODE HERE
</p>
The extra Paragraph tag is breaking my Paragraph Tag.
How can I fix this?
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<!-- Main content -->
<?php the_content(); ?>
<?php endwhile; ?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The comment I added was the fix.
Nice work, jbrashear72. Thanks for sharing the plugin with the community.
ASKER
Thanks man!
ASKER
http://eyelasik.austinfx.com/