Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can the naviagtion change once the user has logged in? (Removing the HOME button)


  • richard1987
    Member

    @richard1987

    Hi,

    I was wondering if somebody could help me?

    I am in the process on making a website using BuddyPress. I was wondering if it is possible to make a link in the navigation disappear once the user has signed in.

    I currently have the following navigation: Home | Activity | Members | Groups | Forum. However once the user has logged in I would like the Home link to disappear, as they don’t need to read about signing up.

    I hope I was clear in what my problem is. Hope someone can help.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

  • richard1987
    Member

    @richard1987

    Thank you ipstenu for getting back to me.

    At the minute once the user logs in it redirects the to their profile page. How and where do i include that code so the home button disappears?


    stwc
    Participant

    @stwc

    Look at header.php in your child theme. That has the UL for the navigation elements.

    At the minute once the user logs in it redirects the to their profile page. How and where do i include that code so the home button disappears?

    Those are two different questions. :) Login With Ajax would help with the redirect. https://wordpress.org/extend/plugins/login-with-ajax/

    As for the home button, in your header.php you just wrap is user logged in around Home. See https://wordpress.org/support/topic/367625?replies=5 for a bit more (and some oddities people are having with it…)


    richard1987
    Member

    @richard1987

    I have a plug-in that forwards the user to their profile once they login, I just now need the home button to disappear as they no longer need to view this page. I have limited knowledge using PHP so I don’t know what i need to add or edit to my header.php file to enable this to happen. Does anyone have the specific piece of code i need for this to happen? Thanks


    richard1987
    Member

    @richard1987

    Really need this working before my project can go live. Please can somebody help? As I have said, i limited knowledge using PHP so I don’t know what i need to add or edit to my header.php file to enable this to happen. Does anyone have the specific piece of code i need for this to happen? Thanks


    Boone Gorges
    Keymaster

    @boonebgorges

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can the naviagtion change once the user has logged in? (Removing the HOME button)’ is closed to new replies.
Skip to toolbar