| | #1 |
| HyperActive Warrior War Room Member Join Date: 2008 Location: NE Ohio
Posts: 322
Thanks: 75
Thanked 55 Times in 42 Posts
|
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; ?> |
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Tokyo
Posts: 314
Thanks: 27
Thanked 43 Times in 42 Posts
|
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." | |
| |
| The Following User Says Thank You to ussher For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2008 Location: NE Ohio
Posts: 322
Thanks: 75
Thanked 55 Times in 42 Posts
|
Awesome, Worked like a charm. I knew it had to be something simple. Thanks Alot
|
| |
|
| Bookmarks |
| Tags |
| embedded, html, posts, site, wordpress |
| |