• Hey guys for the past week been nothing but a headache for me, here’s what iv been trying to do.

    I’m planning on creating a social network on my site and been trying to add a plug in that will give me the features I need.
    I need to add a login/register plugin that can be integrated with forums/ members chat and also the option for paid members to be able to post their own content on my home page.
    I was checking out s2member but never figured out how to put the login/register buttons on the top of my website like most professional websites. I’ll be adding a woocomerce later to I’m a bit overwhelmed.
    Right now I litteraly have no $ to spend on plugins at this time.
    Anyone have any suggestions on free plugins that can integrate with all this and purhaps link the paid versions as well. This week has been a non stop headache for me.

    https://wordpress.org/plugins/s2member/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Is this what you need?

    Thread Starter iseestarz

    (@iseestarz)

    Sort of but instead of having the register/login/profile on the menu itself I was wondering if it can be applied at the very top of the website

    You mean in the admin bar? If your admin bar is locked by your theme, you may need to unlock. Or change the theme.

    But to place it anywhere needs a small change in the code I show you, so can not be a problem.

    I think I have that on my site here: http://scrapbookcampus.com

    Is that what you are looking for?

    Thread Starter iseestarz

    (@iseestarz)

    Yea exactly like that

    I am using Headway Theme, so i don’t know if it could matter (i am not much of a programmer, which is why i use that theme!), but here is the code i am using:

    <div id="loginAtTop">
    [s2If is_user_logged_in()]
    <span style="font-size:10pt;">Welcome [s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /] / <a href="/my-account/">My Account</a> / <a href="<?php echo wp_logout_url(home_url()); ?>" title="Log out">Log out</a></span>
    [/s2If]
    [s2If !is_user_logged_in()]
    <span style="font-size:10pt;">
    <a href="<?php echo wp_login_url( get_permalink() ); ?>" title="Login">Login</a>
    </span>
    <span style="font-size:10pt;">
    <a href="http://scrapbookcampus.com/wp-login.php?action=register">Register</a> </span>
    [/s2If]

    So i am not 100% sure where you would put that code for your particular site or theme, but if you can’t figure it out, you can ask Krumch (he posted just before me). He is my programmer!

    Good luck.

    Hi,
    I use the Modality theme and I have no clue how/where to add the [s2If] conditional code on the home page.
    Thanks in advance for any advice
    Bruno

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Integrate login/register on theme?’ is closed to new replies.