Forums
Home / Fixing WordPress / importing content from rss in sidebar
(@beee)
15 years, 3 months ago
i’ve been searching and reading several topics, I tried several plugins such as wp-o-matic feedsnap feedwordpress and 1 or 2 others, but I can’t get the images from my own feed to display in my sidebar.
I own http://www.all-babes.com (NSFW) I want to list the last 3 added hosted galleries, which rss is http://www.all-babes.com/girls/x/feed/
every post is real simple <img src=”location”> <more tag> description
I don’t insert images into the WP admin, I just list them from their original location on the server.
If anybody can help me out, i’m grateful since I can’t get it to work.
15 years, 2 months ago
solved, didn’t think of the idea of creating a second loop and listing the last 3 added posts.
like this <?php query_posts('showposts=5'); ?>
<?php query_posts('showposts=5'); ?>
or if you use platinum seo pack (above query messes up titles)
<?php $myquery = new WP_Query('showposts=5'); ?> <?php while ($myquery->have_posts()) : $myquery->the_post(); ?>