This topic has 12 replies, 3 voices, and was last updated 8 years by Laura.

  • Author
  • #133770
     Bccrawfo
    Participant

    Hi,

    1.       I was hoping on creating 3 different main menus – one for forum members logged in, one for full members logged in and one for logged out/non-member users.

    I tried following the code for to create 2 different menus (one for logged in users, one for logged out users) found here: https://archived.seventhqueen.com/forums/topic/want-to-display-2-menus-when-logged-in-and-other-one-when-not

    I copied the code from kleo/page-parts/general-header-section.php.  and added it to the functions.php of the Kleo child theme/ I then made the changes referenced in the aforementioned forum to the code in the child theme functions.php.  I ended up getting an http error 500 from the child-theme and had to uninstall and re-install the child theme.

    Did I add the code incorrectly to the child-theme? Do I just add it to the functions.php? Am I supposed to create a page-parts folder in the child theme and put the functions.php in that folder? Was the http error 500 possibly because I have two different levels of members but only attempted to make the change to 2 menus according to the forum post, one for logged in members, one for logged off members?

    2.       I am also trying to remove the ability for members to go to the “back-end” WP administration page by clicking on “edit profile” and “change password” from the account page (Page with [pmpro_account] shortcode) for paidmembership pro. I used the following to remove, “edit profile” by adding to style.css of the child teme.

    .pmpro_actionlinks a:nth-child(1){

    display: none;

    }

    form#bbp-search-form {

    fisplay: none !important;

    }

                    This seems to remove other information from the account page which is fine but would prefer just to remove “edit profile” and “change password.”

     

    Thank you for your attention to this matter. 

    #133822
     Laura
    Moderator

    Hello, for 1, you will need to contact a developer about that because it would require time and development.
    About 2, can you share access so i can see it?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #134051
     Bccrawfo
    Participant
    This reply has been set as private.
    #134056
     Kieran
    Participant

    Just my two cents worth as a user of Kleo, I have used and had much success with Nav Menu Roles plugin, it works out of the box with Kleo. It would allow you to create one menu and target the items of the menu to users that are either anyone, logged out, logged in and additionally it allows you to target by user role (the full member / forum user you spoke of).

    You can find it here https://wordpress.org/plugins/nav-menu-roles/

    #134085
     Bccrawfo
    Participant

    Kieren,

    Thank you very much for your suggestion! I will definitely check out Nav Menu Roles plugin.

    Brian

    #134086
     Bccrawfo
    Participant

    Kieren,

    The Plugin worked great! Thanks Again.

    Brian

    #134388
     Laura
    Moderator

    Happy you could resolve it! Thanks @kieran 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #134396
     Bccrawfo
    Participant

    Thanks,Laura.

    Were you able to gain access for question 2?

    Brian

    #134630
     Laura
    Moderator

    Hello, yes but i didnt find the page, let me know where it is 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #134788
     Bccrawfo
    Participant
    This reply has been set as private.
    #134899
     Laura
    Moderator

    Hello, just add this to style.css of child theme

    COPY CODE
    
    #pmpro_account-profile .pmpro_actionlinks {
        display: none !important;
    }
    

    Let me know if it helps 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #135203
     Bccrawfo
    Participant

    That worked great! Thank you so much for all of your help, Laura!

    Brian

    #135538
     Laura
    Moderator

    Glad to help 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?