I have a loop which generates a list of saved videos, which is displayed on: http://www.careers4u.tv/my-saved-clips/
This is from the favourite posts plugin, which I've modified for the site. This coding displays the results:
<?php
echo "<div class='wpfp-span'>";
if (!empty($user)):
if (!wpfp_is_user_favlist_public($user)):
echo "$user's Favorite Posts.";
else:
echo "$user's list is not public.";
endif;
endif;
if ($wpfp_before):
echo "<p>".$wpfp_before."</p>";
endif;
echo "<ul>";
if ($favorite_post_ids):
foreach ($favorite_post_ids as $post_id) {
$p = get_post($post_id);
echo "<h5>";
echo "<a href='".get_permalink($post_id)."' title='". $p->post_title ."'>" . $p->post_title . "</a> ";
echo "</h5>";
wpfp_remove_favorite_link($post_id);
}
else:
echo "<li>";
echo $wpfp_options['favorites_empty'];
echo "</li>";
endif;
echo "</ul>";
wpfp_clear_list_link();
echo "</div>";
wpfp_cookie_warning();
?>
My question is how to add a thumbnail of the image, and an excerpt into the results.
The effect I want is idential to the pages of the search results.