-
Author
-
August 25, 2016 at 05:19 #133770BccrawfoParticipant
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.
August 25, 2016 at 16:01 #133822LauraModeratorHello, 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 solutionLaura 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 🙂
August 27, 2016 at 07:21 #134056KieranParticipantJust 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/
August 28, 2016 at 04:45 #134085BccrawfoParticipantKieren,
Thank you very much for your suggestion! I will definitely check out Nav Menu Roles plugin.
Brian
August 28, 2016 at 04:55 #134086BccrawfoParticipantKieren,
The Plugin worked great! Thanks Again.
Brian
August 31, 2016 at 03:50 #134388LauraModeratorHappy 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 solutionLaura 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 🙂
August 31, 2016 at 04:05 #134396BccrawfoParticipantThanks,Laura.
Were you able to gain access for question 2?
Brian
September 1, 2016 at 21:25 #134630LauraModeratorHello, 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 solutionLaura 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 🙂
September 5, 2016 at 11:17 #134899LauraModeratorHello, 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 solutionLaura 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 🙂
September 7, 2016 at 04:46 #135203BccrawfoParticipantThat worked great! Thank you so much for all of your help, Laura!
Brian
September 8, 2016 at 22:36 #135538LauraModeratorGlad to help 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.