How to make ajax call in wordpress in right way?
Your ajax hook add_action(‘wp_ajax_load_user_feed’, ‘ajax_load_user_feed’); is for logged in users only, if you want none logged in users (guests or visitors) then add: add_action(‘wp_ajax_nopriv_load_user_feed’, ‘ajax_load_user_feed’); and you should be fine.