posting image and title of last post outside WP
-
hello all. i’m trying to do some custom formatting for displaying the most recent posts from one of my wordpress blogs on a different page (on the same website). what i want to do is here: https://www.10eastern.com/draw/
right now i’m just using <?php
require(‘../wordpress/wp-blog-header.php’);
?> at the top of my php page and <?php wp_get_archives(‘type=postbypost&limit=5’); ?> to post the list of the last five posts.that works fine, just not sure how to go about getting what i want (i created my own table there with the post title and the image from the post to show what i want to do). most of the posts on my blog are basically a title, and an image, no accompanying text. i’m planning on posting the content of a few blogs in different divs or tables elsewhere on the site.
is it possible to force image dimensions to a set width? i’m hoping to limit the width to 150 pixels. thanks in advance.
- The topic ‘posting image and title of last post outside WP’ is closed to new replies.