Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 5th May 2011, 01:53 AM   #1
HyperActive Warrior
War Room Member
 
ErnieB's Avatar
 
Join Date: 2008
Location: NE Ohio
Posts: 322
Thanks: 75
Thanked 55 Times in 42 Posts
Default
How do I get wordpress posts embedded into an html site?
Share on: 
fb share twitter share gplus share more share

I am wanting to pull the posts from a wordpress blog and have them display inside of an html site. I researched and found the following code which works ( in conjunction with another snippet of code )

Code:
<?php while (have_posts()): the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<p><a href="<?php the_permalink(); ?>">Read more...</a></p>
<?php endwhile; ?>
However, I want to display the ENTIRE post including any images that are within that post. What needs changed/added to make this happen?
ErnieB is offline  
Unread 5th May 2011, 02:21 AM   #2
HyperActive Warrior
War Room Member
 
ussher's Avatar
 
Join Date: 2010
Location: Tokyo
Posts: 314
Thanks: 27
Thanked 43 Times in 42 Posts
Default
Re: How do I get wordpress posts embedded into an html site?
Share on: 
fb share twitter share gplus share more share

Try:
<?php the_content(); ?>


WordPress Tip: Show the Latest Post in Full, Then Summaries of the Other Posts | I'd Rather Be Writing

"Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."
- jamroom.net
Download Jamroom free: Download
ussher is offline  
The Following User Says Thank You to ussher For This Useful Post:
Unread 5th May 2011, 02:58 AM   #3
HyperActive Warrior
War Room Member
 
ErnieB's Avatar
 
Join Date: 2008
Location: NE Ohio
Posts: 322
Thanks: 75
Thanked 55 Times in 42 Posts
Default
Re: How do I get wordpress posts embedded into an html site?
Share on: 
fb share twitter share gplus share more share

Awesome, Worked like a charm. I knew it had to be something simple. Thanks Alot
ErnieB is offline  
Closed Thread


Bookmarks

Tags
embedded, html, posts, site, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:46 AM.