How I create visitors homepage different then members


  • Akif
    Newbie 0 points
    March 14, 2015 at 4:27 pm

    Hello,

    I am trying to create visitors homepage different then members homepage.
    My homepage have join button and when a member visit homepage I want them to see the member homepage which include categories and post.
    Somebody please help me on this.

    Akif

  • zarko
    zarko
    Senior Member 360 points
    March 14, 2015 at 4:56 pm

    hi Akif,

    This would have to be changed from code most likely. If you are familiar with at least some basic coding, you could create a wordpress template https://codex.wordpress.org/Page_Templates and than use https://codex.wordpress.org/Function_Reference/is_user_logged_in to show/hide elements depending whether user is logged in or not

    or if you are using membership packages, you can use shortcode:
    [code title=””][MEMBERSHIP ID=”1,2,3″]
    text here
    [/MEMBERSHIP][/code]
    to show content only for logged in users and those who have membership assigned which you put in ID=”” attribute
    This can be used in Text widget from Page Setup > Home page

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes