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.

How could I let each user subscribe to a specific categories of his choice? I want to do something like reddit subscribe to categories? Is there any tutorial helps doing this?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You can give them this url http://www.example.com/?cat=42&feed=rss2

This one if permalinks are enabled http://example.com/category/categoryname/feed

Replace the site url & also the cateogries id or slug with the correct one

UPDATE IN RESPONSE TO COMMENT

Display a list of categories to the user maybe with wp_dropdown_categories. Save the id of the category the user subscribed to in the database by using the function add_user_meta() or update_user_meta, then on the template on which you want to show the posts use WP_Query to retrieve all the posts.

If you don't know the functions, check out their reference on codex, it's easy to find on google

share|improve this answer
    
I don't want to let user subscribe by rss. I want to show him with wordpress loop content from categories he has subscribed to. –  Feras Odeh Oct 22 '12 at 6:28
    
Edited the answer. I'm not familiar with Reddit, so assumed it was RSS by reading the word subscribe –  Mridul Aggarwal Oct 22 '12 at 7:45
    
Thanks Mridual. –  Feras Odeh Oct 22 '12 at 7:58
    
@FerasOdeh did you ever get this up and running? –  Nathan Dec 17 '13 at 19:35

There is a plugin "post notification" that allows users to subscribe to posts in general or to specific categories (if you enable this option in the plugin settings). The user will be notified by email if a new post has been published. You can even create email templates. http://wordpress.org/extend/plugins/post-notification/ The plugin hasn't been updated for a while but still does an excellent job.

share|improve this answer

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.