?
Solved

How do I get wordpress page content with no class or tags returned?

Posted on 2011-02-15
5
Medium Priority
?
465 Views
Last Modified: 2012-05-11
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?
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
					<!-- Main content -->
 					
							<?php the_content(); ?>
						

				
<?php endwhile; ?>

Open in new window

0
Comment
Question by:jbrashear72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902593
Here is the page:
http://eyelasik.austinfx.com/
0
 
LVL 3

Accepted Solution

by:
jbrashear72 earned 0 total points
ID: 34902631
0
 
LVL 3

Author Closing Comment

by:jbrashear72
ID: 34902634
The comment I added was the fix.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34903229
Nice work, jbrashear72.  Thanks for sharing the plugin with the community.
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34903243
Thanks man!
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question