Devam Ediyor

Wordpress Favourite Posts Plugin, Slight Modification

I need a simple modification done to the Wordpress Favourite Posts plugin. At the moment the following code generates the name of the saved post, plus the option to remove it. I need it so it shows the Featured Image thumbnail and an excerpt from the post as well.

<?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();

?>

This coding is for the "My Favourite Posts" page where users can manage their favourited videos. The file is called wpfp-page-template.php.

Any questions, just ask.

Beceriler: MySQL, PHP, Web Sitesi Tasarımı, WordPress

Daha fazlasını görün: wordpress favourite posts plugin, wpfp page template, wordpress questions, echo design, wordpress favourite post user, foreach favorite_post_ids post_id, wpfp_is_user_favlist_public, wordpress user favorite posts, wordpress favourite post plugin, wordpress favourite posts, wordpress plugin coding, wordpress manage, remove wordpress, posts , plugin design, coding wordpress, wordpress plugin featured, excerpt, php image href, wordpress post list, slight, user favorite posts plugin, wordpress manage plugin, posts page, website plugin

İşveren Hakkında:
( 21 değerlendirme ) Bath, United Kingdom

Proje NO: #751030

3 freelancers are bidding on average $50 for this job

cheapestandbest

Please check PMB to know more about our wordpress services and wordpress portfolio

in 2 gün içinde65$ USD
(854 Değerlendirme)
9.1
Rautella

can you provide a screenshot, how to you want it to look. Thanks

in 0 gün içinde50$ USD
(276 Değerlendirme)
6.9
goldenstar

Ready to start your work.

in 2 gün içinde50$ USD
(48 Değerlendirme)
5.3
Everglades

I just did something similiar so it won't be a problem

in 2 gün içinde50$ USD
(0 Değerlendirme)
0.0