I need some custom Wordpress code that will basically display different content if a user is logged in.
For example if someone were to visit a "page" and they were not logged in it would display the content for page id1 and if they were logged in it would show page id2.
I will be using this code on a Wordpress Site that is using the [url removed, login to view] Plugin.
I will be installing the code on a custom category template (one for each category) So I need to be able to pull content from one of two "Pages" that we have created for each category - one is members content and one is non members content.
I will be removing the regular category archive type listing of the posts from these category templates.