Before the wpmem_register_form_rows filter was added, the way to insert a separator line of text into the registration form was by using php’s str_replace function to search/replace text/HTML in the form with the wpmem_register_form filter. While that way still works, wpmem_register_form_rows allows you an alternate approach. [Read more...]
Sometimes, you might want to have a limited set of fields during the registration process, but would still like additional fields available for the user to complete in the user profile. If these are not required fields, the process is relatively simple and can be completed with a single filter function. [Read more...]
This is a general discussion of how to customize the fields that are displayed in the registration form based on the page or the post that it is being displayed on.
There are some more advanced ways to approach this, but for most users, this will be the easiest to implement.
Note: this is a general discussion of how to implement. It is not a copy/paste codes snippet (although the code examples can be copy/pasted and used as-is as a general overview of trying out the approach discussed). You will need a basic knowledge of PHP to implement this based on your own custom fields. [Read more...]
This code snippet is specifically for the User List extension, which many users use to implement a User Directory. The code snippet discussed here will demonstrate how to include on option in the registration form for users to “opt out” of being displayed in the directory. [Read more...]
WP-Members has always focused on content contained in the WordPress $content variable. More recently, the popularity of builder plugins such as Page Builder by SiteOrigin or Elegant Builder from Elegant Themes has raised the issue of blocking content that is not necessarily stored in the same manner.
The post focuses on the general approach to blocking content from these types of plugins and includes code snippets you can use for the two plugins mentioned above. [Read more...]