Is there any way to add follow button in author’s page so that , other logged-in users can follow him ?
_ Like this idea from “Mr Ryan” in Wordpress Forum _ :
A possible solution would be that if a logged-in user (call it user #1) is clicking “follow” on another user’s profile (call it user #2), you record user #2’s ID as meta data on user #1. You can do this via the update_user_meta function. You can then retrieve posts from user #2 by using WP_Query with an author parameter. The author parameter can be an array, so you can get the posts of multiple users that way.
which mean that each logged-in user can select his favorite authors to follow and they can only see the posts of followed authors.
then this code return a function such as : “is_followed” which we can use in IF Sentence to do something ..
i wish you can help me :3