Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

My site has many post and when a user is logged into the site, (s)he can mark the post as there "favorite post". So basically what I need is:

How can a user mark a post as her/his "favorite post",

and after that

How can I display those "favorite posts" on a single page.

share|improve this question
    
I am sorry, my telepathy powers are a bit off-synch today, and my x-ray vision device is in repairs ... ( that means that If you want to help US help YOU, you have to provide more details , like link to the plugin, theme, or preferably, the live website where one can go and check the problem / issue / question ) –  krembo99 Mar 7 '13 at 10:06
    
Plugin recommendations and "do this job for me"-questions are off topic and you need to show us the efforts you've already taken to achieve your task. Also please use proper spelling and English language. –  kaiser Mar 7 '13 at 11:21
add comment

1 Answer

When a user mark a post as favorite, certainly a custom field is set with a value. To get all favorite posts from a user in a page you need to make a custom page tamplate and query posts after user and favorite criteria.

For a detalied answer we need code examples.

share|improve this answer
    
Yes i know that i have to add custom field every time user mark it as there favorite, but i am not getting any idea how i retirive all favorite post by loop. Can you just write a code how i get the favorite post of every user who save them. –  Adi Mar 7 '13 at 10:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.