First post! I've got an issue I can't fix, being a designer rather than programmer. Hopefully someone can help.
I'm using an old plugin for custom login pages: http://wordpress.org/extend/plugins/custom-login-pages/ I've edited it before to do a bespoke message through WP with Smart Blocks of text. The only problem is I can get a unique message for WP Login pages for the Login and Register pages but not for the Lost Password page.
This is the bit of code I'm tweaking but the Lost Password page shows all three smart blocks of text. How can I modify this to only show the one I want?
echo '<ul id="clnav">'."\n";
if (isset($_GET['action']) && $_GET['action'] != 'login')
echo do_shortcode('[smartblock id=883]');"\n";
if (get_option('users_can_register') && $_GET['action'] != 'register')
echo do_shortcode('[smartblock id=881]');"\n";
if (get_option('users_can_register') && $_GET['action'] != 'lost_password')
echo do_shortcode('[smartblock id=3669]');"\n";
echo '</ul>'."\n";
}
The full code is rather long but can be downloaded from WP in the above link - the bit above is line 150ish.
Thanks, Nicko.