In Bearbeitung

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.

Fähigkeiten: MySQL, PHP, Webdesign, WordPress

Mehr sehen: 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

Über den Arbeitgeber:
( 21 Bewertungen ) Bath, United Kingdom

Projekt-ID: #751030

3 Freelancer bietetn im Durchschnitt $50 für diesen Job an

cheapestandbest

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

$65 USD in 2 Tagen
(854 Bewertungen)
9.1
Rautella

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

$50 USD in 0 Tagen
(276 Bewertungen)
6.9
goldenstar

Ready to start your work.

$50 USD in 2 Tagen
(48 Bewertungen)
5.3
Everglades

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

$50 USD in 2 Tagen
(0 Bewertungen)
0.0