Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

How to add post images and excerpts to coding?

Prev Previous Post   Next Post Next
Old Jul 24, 2010, 05:02 AM
5 posts · Jul 2010
How to add post images and excerpts to coding?

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:

echo "<div class='wpfp-span'>";
if (!empty($user)):
if (!wpfp_is_user_favlist_public($user)):
echo "$user's Favorite Posts.";
echo "$user's list is not public.";

if ($wpfp_before):
echo "<p>".$wpfp_before."</p>";

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>";
echo "<li>";
echo $wpfp_options['favorites_empty'];
echo "</li>";
echo "</ul>";
echo "</div>";

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Images in excerpts not showing gvlismas Excerpts, Read more, Pagination 2 May 12, 2010 05:49 AM
[SOLVED] How to automatically crop images in excerpts? samij0 Excerpts, Read more, Pagination 3 Mar 17, 2010 09:49 AM
what plugin is better to automatically show thumbnail images in excerpts. falguni1 Plugins & Atahualpa 8 Nov 29, 2009 12:38 PM
How do I add margins/spacing to ALL images using the Images section? oskarfalk Atahualpa 3 Wordpress theme 1 Sep 2, 2009 06:09 AM
Where is php sidebar coding pamlicoink Sidebars & Widgets 3 Aug 12, 2009 05:07 PM

All times are GMT -6. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.