Solved

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

Posted on 2011-02-15
5
464 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

626 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