Hello!
I've created a Wordpress Network with subdomains.
another.no
anothertest.no
I want all the new posts from the network to appear on another.no; as a start page and kind of a collection of all the new posts from around the whole network.
I need someone to do this for me/help me. It is also necessary for me to get the Featured Image from the sub doman blogs on a thumbnail in antother.no's start page.
(Now I have installed FeedWordpress, and all the posts from the network appears on another.no, but the Featured Image is not transmitted over.)
Skype: sondreroe
Francisco Javier Carazo Gil answers:
Hi sdr,
In FeedWordPress, in feeds-page.php from line 891 you have the code that show the feeds. In this code you have:
<h3>Sample Item</h3>
<ul>
<li><strong>Title:</strong> <a href="<?php echo $post->post['meta']['syndication_permalink']; ?>"><?php echo $post->post['post_title']; ?></a></li>
<li><strong>Date:</strong> <?php print date('d-M-y g:i:s a', $post->published()); ?></li>
</ul>
<div class="entry">
<?php print $post->post['post_content']; ?>
</div>
You have to add another one:
if($rss_url == "one_site)
echo "<img src='your_thumbnail'/>";
else
echo "<img src='your_other_thumbnail'/>";
Remember to change the name of plugin to prevent problems updating and if you want, upload the new plugin improved respecting license and mentioning the original one.
sdr comments:
Don't work? Have I done something wrong in the pasting?