Suppose you want to highlight the user’s username in the sidebar status message. Here is an easy filter to do that. Continue Reading →
Blog
Removing items from the menu based on login status
Generally, menus are going to be filled with static items. A “set it and forget it” kind of thing. In those cases, there are some really good methods of setting up various menus to display based on a user’s login status (here and here).
But what if that’s the case? What if you have a menu that you will dynamically be adding content to and you just want one menu to do it all? This filter function might suit your needs.
WP-Members 2.8.7 released
WP-Members 2.8.7 has been released as a production version. This release hopefully completes the 2.8 project, pending any need for fixes. While there were front-facing features included in some of the releases, 2.8 focused primarily on rebuilding the admin side of the plugin with new features, improved functionality, and better integration with WP’s native features and admin panels.
If all goes will with this release, I will be moving on to open the 2.9 project that will focus on improving the front-side forms and form functionality.
Read on for a description of the features and updates in WP-Members 2.8.7. Continue Reading →
Creating menus based on login status – alternate version
Over in this post, I described a method of displaying different menus to users based on their login status by setting up your theme to display the different menus. But isn’t there an easier way that doesn’t involve theme edits?
Yes. And I’m glad you asked that question.
This method is even easier and simply requires you to drop the included code snippet into your theme’s functions.php file. You will need to update the variable names in the snippet to reflect your menu names.
Add a separator line of text in the registration form
This is an example of how to add a line of text in your form, ideal for creating separation for sections of a form, or to add specific instructions. Continue Reading →