Treehouse: Grow your CSS skills. Land your dream job.

WordPress categories

  • # May 11, 2011 at 1:51 pm

    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?

    # May 12, 2011 at 1:24 pm

    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.

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.