Embed thumbnail in external website and wrap text?
Posted: Thu Jan 26, 2012 11:44 am
Hi,
Please help me. I embedded my Wordpress blog's feed on my home page (non-wordpress but hosted in the same place) but can't get the text to wrap around the thumbnails. Please show me how to do this, I've tried EVERYthing...
Website: http://www.tellasia.org
Code:
In header:
<?php
// Include WordPress
define('WP_USE_THEMES', false);
require('./blog/wp-load.php');
query_posts('showposts=4');
?>
In body:
<?php while (have_posts()): the_post(); ?>
<strong><?php the_title(); ?></strong>
<p align="left"><?php add_image_size('custom-thumbnail-size', 125, 125); ?>
<?php the_post_thumbnail('custom-thumbnail-size'); ?></p>
<?php the_excerpt(); ?>
<a href="<?php the_permalink(); ?>">Read more...</a>
<?php endwhile; ?>
THANK YOU!!!
Leanna
Please help me. I embedded my Wordpress blog's feed on my home page (non-wordpress but hosted in the same place) but can't get the text to wrap around the thumbnails. Please show me how to do this, I've tried EVERYthing...
Website: http://www.tellasia.org
Code:
In header:
<?php
// Include WordPress
define('WP_USE_THEMES', false);
require('./blog/wp-load.php');
query_posts('showposts=4');
?>
In body:
<?php while (have_posts()): the_post(); ?>
<strong><?php the_title(); ?></strong>
<p align="left"><?php add_image_size('custom-thumbnail-size', 125, 125); ?>
<?php the_post_thumbnail('custom-thumbnail-size'); ?></p>
<?php the_excerpt(); ?>
<a href="<?php the_permalink(); ?>">Read more...</a>
<?php endwhile; ?>
THANK YOU!!!
Leanna