Title: User Favorites PHP code?
Last modified: August 21, 2016

---

# User Favorites PHP code?

 *  [Noon](https://wordpress.org/support/users/sevenkader/)
 * (@sevenkader)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/user-favorites-php-code/)
 * What is the PHP code to display the actual User Favorites box, not the Most Favorite
   Box. That’s the most important one and I think you left that out. I want to manually
   display the User Favorites Box.
 * [https://wordpress.org/plugins/wp-favorite-posts/](https://wordpress.org/plugins/wp-favorite-posts/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Noon](https://wordpress.org/support/users/sevenkader/)
 * (@sevenkader)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4599892)
 * And what’s more, the shortcode only displays the clear favorites link, and that’s
   it. I’m about to rate this plugin, please fix those so ican give a good rating
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4600125)
 * The PHP code is on the installation tab for the plugin:
    [http://wordpress.org/plugins/wp-favorite-posts/installation/](http://wordpress.org/plugins/wp-favorite-posts/installation/)
 *  Thread Starter [Noon](https://wordpress.org/support/users/sevenkader/)
 * (@sevenkader)
 * [12 years ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4600169)
 * No it’s not, that’s the php code to show the add to fave link, and the other 
   code is just the shortcode to show the list, but I’m not asking for the shortcode
 *  [Attila Bogozi](https://wordpress.org/support/users/waaab/)
 * (@waaab)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4600178)
 * Hi sevenkader.
 * I believe you are looking for `<?php wpfp_list_favorite_posts(); ?>`. I was looking
   for the same, but I have not found anything related to this, so I had to invest
   some time in it and find it for myself.
 * Hope it help.
 * Cheers.
 *  [Umar Faruk Mhd](https://wordpress.org/support/users/umarfarukm/)
 * (@umarfarukm)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4600201)
 * How to limit the posts in `<?php wpfp_list_favorite_posts(); ?>` this code?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘User Favorites PHP code?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-favorite-posts.svg)
 * [WP Favorite Posts](https://wordpress.org/plugins/wp-favorite-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-favorite-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-favorite-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-favorite-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-favorite-posts/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Umar Faruk Mhd](https://wordpress.org/support/users/umarfarukm/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/user-favorites-php-code/#post-4600201)
 * Status: not resolved