Statistics: Posted by Raam Dev — January 14th, 2012, 11:54 pm
Statistics: Posted by jeanmorency — January 14th, 2012, 11:07 am
Statistics: Posted by Raam Dev — January 13th, 2012, 8:04 pm
Statistics: Posted by jeanmorency — January 11th, 2012, 8:06 pm
div.ws-plugin--s2member-pro-login-widget-username {
display: inline !important;
margin: 0 20px 0 0 !important;
}
div.ws-plugin--s2member-pro-login-widget-password {
display: inline !important;
}
Statistics: Posted by Jason Caldwell — November 20th, 2011, 10:41 pm
Statistics: Posted by mrgarethnunn — November 18th, 2011, 11:04 am
Statistics: Posted by mrgarethnunn — November 9th, 2011, 10:21 am
alargeau wrote:
Hello,
I've searched a lot on the internet and haven't found what I'm looking for. Actually, I'd like a basic login form which could be included in a page because I don't want those sidebar widgets. Do you know anything like that?
Cheers.
<?php echo s2member_pro_login_widget(); ?>
This function allows for the inclusion of the Pro Login Widget directly into a theme/plugin file.
This API function will return the HTML output from the widget function call.
Example usage: <?php echo s2member_pro_login_widget($options, $args); ?>
The $options parameter (array) is completely optional ( i.e. NOT required ).
It can be passed in as an array of options; overriding some or all of these defaults:
"title" => "Membership Login" ——— Title when NOT logged in, or leave this blank if you'd prefer not to show a title.
"signup_url" => "%%automatic%%" ——— Full Signup URL, or use %%automatic%% for the Membership Options Page. If you leave this blank, it will not be shown.
"login_redirect" => "" ——— Empty ( i.e. "" ) = Login Welcome Page, %%previous%% = Previous Page, %%home%% = Home Page, or use a full URL of your own.
"logged_out_code" => "" ——— HTML/PHP code to display when logged out. May also contain WP Shortcodes if you like.
"profile_title" => "My Profile Summary" ——— Title when a User is logged in. Or you can leave this blank if you'd prefer not to show a title.
"display_gravatar" => "1" ——— Display Gravatar image when logged in? 1 = yes, 0 = no. Gravatars are based on email address.
"link_gravatar" => "1" ——— Link Gravatar image to Gravatar.com? 1 = yes, 0 = no. Allows Users to setup a Gravatar.
"display_name" => "1" ——— Display the current User's WordPress® `Display Name` when logged in? 1 = yes, 0 = no.
"logged_in_code" => "" ——— HTML/PHP code to display when logged in. May also contain WP Shortcodes if you like.
"logout_redirect" => "%%home%%" ——— Empty ( i.e. "" ) = Login Screen, %%previous%% = Previous Page, %%home%% = Home Page, or use a full URL of your own.
"my_account_url" => "%%automatic%%" ——— Full URL of your own, or use %%automatic%% for the Login Welcome Page. Leave empty to not show this at all.
"my_profile_url" => "%%automatic%%" ——— Full URL of your own, or use %%automatic%% for a JavaScript popup. Leave empty to not show this at all.
The $args parameter (array) is also completely optional ( i.e. NOT required ).
It can be passed in as an array of options: overriding some or all of these defaults:
"before_widget" => "" ——— HTML code to display before the widget.
"before_title" => "<h3>" ——— HTML code to display before the title.
"after_title" => "</h3>" ——— HTML code to display after the title.
"after_widget" => "" ——— HTML code to display after the widget.
Statistics: Posted by Jason Caldwell — March 6th, 2011, 1:23 pm
Statistics: Posted by ohadga — December 20th, 2010, 4:44 pm
Statistics: Posted by creativeforge — December 16th, 2010, 2:23 pm
Statistics: Posted by associatebroker — December 11th, 2010, 12:50 pm
Statistics: Posted by associatebroker — December 9th, 2010, 10:39 pm
Statistics: Posted by alargeau — November 17th, 2010, 6:14 pm
Statistics: Posted by x3000gold — November 7th, 2010, 3:09 pm
Statistics: Posted by chelle — October 29th, 2010, 11:13 pm
chelle wrote:
It is so hard to find a wordpress theme with something as simple as a login box, so widgets are definitely helpful
I was curious if there would be a template tag you can use to insert it in the theme or style it so it would be horizontal? (such as the login form on wordpress.org). If not yet maybe would be a nice feature to include in future updates/releases?
div.ws-plugin--s2member-pro-login-widget-username {
display: inline;
margin: 0 20px 0 0;
}
div.ws-plugin--s2member-pro-login-widget-password {
display: inline;
}
Statistics: Posted by Jason Caldwell — October 22nd, 2010, 4:06 am
Statistics: Posted by chelle — October 19th, 2010, 10:34 am
Statistics: Posted by Jason Caldwell — October 18th, 2010, 5:28 pm