• Resolved mixpimp

    (@mixpimp)


    Hey Guys! i wanted to know if or how its possible to show or hide / or change specific page content for unlogged and logged in users, a customer of mine found this website roycedolls.com/models/ when you visit it, you see pictures of some girls, with their faces covered, after you register and login, those images change and you can see their faces, would that be possible with the premium support custom field option? since this website seem to use wp member, if you check their sourcecode

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    There are different ways to show/hide content using the plugin.

    The plugin directly handles what is contained in the $content variable (what WP sends through the the_content filter).

    Outside of that, content can be handle by shortcode or programmatically (such as with an action, filter, or in your templates).

    By shortcode, the [wpmem_logged_in] and [wpmem_logged_out] status shortcodes can be used to show or hide content based on login state.

    Outside of that, you can use the is_user_logged_in() function in a filter, action, or template to determine login state (and thus display or not display some item).

    Thread Starter mixpimp

    (@mixpimp)

    huh yea sry i was kinda too dumb to find the shortcodes in the docu. ?? my bad, thanks for the response

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide or show Specific content’ is closed to new replies.