WordPress runs the shortcode parser on the content only once. Unfortunately, that means if a plugin or theme developer includes a shortcode in their code and they do not use the function do_shortcode() on $content before returning $content, any shortcodes following theirs will be unparsed. For WP-Members, a bad practice like that will result in leaving… Read more »
Posts Categorized: Filters
Add a helpful dialog above the password reset form [ members only ]
Suppose you want to add a little text above the password reset form that will help the user know what to do – in this case, put in your username and email and you’ll receive an email with a new password. Here is an easy way to do that with the wpmem_login_form filter.
Changing the activation link to a single click process [ members only ]
When moderating registration and sending admin notification emails, WP-Members has a shortcode in the email that allows you to click through to that particular user’s profile to activate them. But what if you want the link itself to activate the user? This tutorial will show you how to set up a process to make that… Read more »
Blocking custom post types [ members only ]
With explosion of custom post types in WordPress 3.0, the WordPress world has changed somewhat from what it was when WP-Members was first developed. If you have a theme or site that uses custom post types, you may find that you need to make some adjustments to accommodate what content you would like to be blocked.
Create different styles for “success” and “error” messages [ members only ]
This is an idea that has been floated by a few users, which means there is probably a need for it. As is usually the case, I don’t like to make wholesale changes to the codebase that effects users in a way that requires them to make a change to accommodate an update. So I… Read more »
