title: Only show posts from selected post categories
body: <p>I’m building a news aggregator site where I fetch news from a couple of different news sources that converts into Posts. I want my registered users to have the possibility to choose which news sources (Post Categories) they want to see in their feed on my website (not BuddyPress own Activity Feed, but the feed where I list all mixed news posts from different sources).</p>
  
  <p>Is this possible with a custom field or something? So that when the user edits their profile, they can tick the box next to the source they want to add/delete form their feed.</p>
  
  <p>An example of what I want each user to be able to have the freedom to do:</p>
  
  <blockquote>
    <p>“Select which news sources (Post Categories) you want to read from:”</p>
    
    <p>[ ] USA Today</p>
    
    <p>[ ] The Guardian</p>
    
    <p>[✓] The New Yorker</p>
  </blockquote>
  
  <p>The specific user above should now only see news from The New Yorker in the news feed.</p>
  
  <p>How would you guys accomplish a solution like this with BuddyPress?</p>
  
  <h2>Update</h2>
  
  <p>Clarification:</p>
  
  <p>Emma logs onto her account (via BuddyPress plugin) and goes to her Account Settings. In the Account Settings page, I want to list a couple of Checkboxes with news sources. If Emma selects two of the Checkboxes (i.e. The Guardian &amp; USA Today), then Emma wants the WP_Query to only select posts from these Post Categories (which is the different newspapers).</p>
  
  <p><strong>1.</strong> How should I create these fields using Advanced Custom Fields and present them on the Profile Settings page?</p>
  
  <p><strong>2.</strong> How should I take the values selected from the Advanced Custom Fields in Profile Settings, and filter the WP_Query (which fetches all posts) by Post Category?</p>