website integration and
-
Hello,
I am integrating Word Press into an existing website and am having a problem displaying the thumbnail of the latest three posts.
The home page of my site is a standard PHP page and one level down from the root in a folder called “Blog” is the WordPress installation.
I am trying to elevate the latest 3 blog posts to the home page – which I can see perfectly, except I cannot get a thumbnail to appear.
At the top of the home page I have this:
define('WP_USE_THEMES', false); require('Blog/wp-blog-header.php');
and my loop is:
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> <?php echo get_the_post_thumbnail(); ?> <?php the_excerpt(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a>
What am I doing wrong?
Thanks
- The topic ‘website integration and’ is closed to new replies.