ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact
Home / Web / WordPress / WP-Members / WP-Members 2.7.6 Release Announcement

WP-Members 2.7.6 Release Announcement

By Chad Butler

If all goes well with testing, I will be releasing WP-Members version 2.7.6 tomorrow evening.  I expect this will wrap up the 2.7 release cycle, moving us on to the 2.8 project list.  Read on for more information on what is included in the 2.7.6 release. 

Some exciting updates in this release:

  • Added ability to use same redirect_to querystring that WP uses in the wp-login form.  This allows more seamless replacement of the wp-login.
  • Added a new page shortcode for password reset/change [wp-members page=”password”].  If the user is logged out, it works the reset forgotten password functionality.  If the user is logged in, it will offer the change password functionality.  These functions do also remain in the members-area page shortcode as well, but now can be placed in a stand-alone location as well.
  • Added a new page shortcode for the user edit page [wp-members page=”user-edit”].  This needs to be used if the user is logged in and can be used with the login status shortcode.
  • Removed $content global from the page shortcode function.  This should correct the double form issue when used with plugins/themes that filter $content.
  • Added do_shortcode to the page shortcode call.  This should allow the page shortcodes to be used in conjuction with other shortcodes on the page (although this is not necessarily recommended).
  • Added translations for Russian, Slovak, and Hindi.
  • Moved _OLD forms to wp-members-deprecated.php.  These forms can still be used, but will be deprecated in a future version.  It is highly recommended that users still using legacy forms begin converting to the _NEW forms.

The addition of redirect_to to the login form gives users the ability to seamlessly replace the wp-login with the login_enqueue_scripts action.  Here’s an example you could add to your functions.php file that supposes you want to redirect all requests to the wp-login to a page with the slug “login” that would contain the [wp-members page=”login”] shortcode (obviously change the domain accordingly):

add_action( 'login_enqueue_scripts', 'redirect_my_login' );
function redirect_my_login() {
wp_redirect( 'http://mydomain.com/login?redirect_to=' . $_GET['redirect_to'] );
exit;
}

 

 

The reworking of shortcodes and the addition of some new ones allows more flexibility with the shortcodes than in the past.  It allows for the use of more than one of the “page” shortcodes on a single page, allows for nested shortcodes (such as putting page shortcodes within the logged in/out status shortcodes).  In my opinion, this is probably the most powerful update in this release.

The new shortcodes break out some of the functions of the members-area page to be used separately as needed/desired.

Enjoyed this article?

Don't miss a single post. Subscribe to our RSS feed!

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pocket (Opens in new window) Pocket
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugins, WP-Members

About Chad Butler

Chad Butler is a freelance writer and web developer. He has developed several popular WordPress plugins and has written for forbes.com, sfomag.com, and investopedia.com. He also runs a small organic farm in east Georgia.

Comments

  1. Claudiu says

    August 8, 2012 at 8:43 am

    Great job 😉
    Now it looks to me more flexible.

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • The High Price of Free Plugins
  • YouTube Success: Key Tips for Enhancing Video Optimization and Visibility
  • Mobile App vs. Mobile Website Ideal Choice for your Business
  • Top Strategies to Boost Your Brand’s Visibility and Impact
  • Advanced Blogging Strategies: Using Analytics, A/B Testing, and Conversion Optimization Techniques to Grow Your Audience
  • Unlock Real-Time Process Insights to Save Time and Money
  • How Writers Can Attract More Audience Attention
  • Dress for Success – Even at Home
  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2026 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.