treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Wordpress categories

  • Is it possible within a single blog to let non signed in viewers read only one category and to be obliged to sign in to read the other categories?
  • Absolutely. The easiest way (which may or may not be directly applicable to what you need to do) is to include the restricted categories in a loop that's nested in the is_user_logged_in function.

    codex.wordpress.org/Function_Reference/is_user_logged_in

    There are various plug-ins that will do this as well, more or less.