Using the button to show/hide content for registered users (2 posts)

  1. Kenny
    Posted 4 years ago #

    On a single post (single.php), I'd like to show what's below the <--More--> tag to registered users only, and not to unregistered users. I've been searching for way too long and I can't find a solution.

    All of the codex entries say the_excerpt isn't available on single posts, but it seems like there's got to be a way around that. I have full access to customize the template's php as much as needed.

    Or a different approach with the_content?

    Is there a genius out there?

  2. Ervald
    Posted 4 years ago #

    Getting the excerpt:

Topic Closed

This topic has been closed to new replies.

About this Topic