Community Support Forums — WordPress® ( Users Helping Users ) — 2010-07-22T07:49:00-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=281 2010-07-22T07:49:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1714#p1714 <![CDATA[Re: customising wp-login]]> ~ I see. It looks like I left the return statement out of my sample.
Sorry about that.

Here is the correct version:
Code:
<?php
add_filter
("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles($s2member_styles)
    {
        echo '<style type="text/css">';
        include "/path/to/my/stylesheet.css";
        echo '</style>';

        return '';
    }
?>

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 7:49 am


]]>
2010-07-20T00:52:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1670#p1670 <![CDATA[Re: customising wp-login]]>
Jason Caldwell wrote:
If you wanted to load an external stylesheet, you could do this:
Code:
<?php
add_filter("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles($s2member_styles)
    {
        echo '<style type="text/css">';
        include "/path/to/my/stylesheet.css";
        echo '</style>';
    }
?>




That didn't work for me...

However I tried this and it seemed to work well:

<?php
add_filter("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles($s2member_styles)
{
echo "<link href='link to css file' rel='stylesheet' type='text/css' />";

}
?>

Statistics: Posted by Guest — July 20th, 2010, 12:52 am


]]>
2010-06-26T02:32:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1239#p1239 <![CDATA[Re: customising wp-login]]> Statistics: Posted by accessart — June 26th, 2010, 2:32 am


]]>
2010-06-26T01:46:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1229#p1229 <![CDATA[Re: customising wp-login]]>
Code:
<?php
add_filter
("ws_plugin__s2member_login_header_styles""my_login_styles");
function 
my_login_styles($s2member_styles)
    {
        echo 
'<style type="text/css">';
        include 
"/path/to/my/stylesheet.css";
        echo 
'</style>';

        return 
'';
    }
?>

Statistics: Posted by Jason Caldwell — June 26th, 2010, 1:46 am


]]>
2010-06-26T01:45:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1228#p1228 <![CDATA[Re: customising wp-login]]> CSS tutorial here: http://www.w3schools.com/css/

Here is an example:
Code:
<?php
add_filter
("ws_plugin__s2member_login_header_styles""my_login_styles");
function 
my_login_styles($s2member_styles)
    {
        echo 
'<style type="text/css">';
        
?>

         html, body { background: #000000; }
         div#login { width: 600px; }

        <?php
         
echo '</style>';

         return 
'';
    }
?>

Statistics: Posted by Jason Caldwell — June 26th, 2010, 1:45 am


]]>
2010-06-25T07:34:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1200#p1200 <![CDATA[Re: customising wp-login]]> Pls can you clarify

Your stylesheet data goes here.


I'm sorry, specifically how do i refer or call to my style sheet?

Many thanks

Statistics: Posted by accessart — June 25th, 2010, 7:34 am


]]>
2010-06-25T07:03:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1199#p1199 <![CDATA[Re: customising wp-login]]> http://www.primothemes.com/forums/viewtopic.php?f=4&t=275&p=1148#p1148

This might be of help, thanks.

Statistics: Posted by k4yti — June 25th, 2010, 7:03 am


]]>
2010-06-24T03:45:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=281&p=1186#p1186 <![CDATA[customising wp-login]]>

If you would like to have Customers register before checkout, you can turn on Open Registration.
See: s2Member -> General Options -> Open Registration.
You will need s2Member v3.0.6+

Once you turn on Open Registration, you can allow Customers to register first, for FREE. Then hit them with a payment button on the Login Welcome Page. You could use some of s2Member's Advanced Conditionals to tailor this specifically for your needs. s2Member also comes with a full set of WordPress Hooks/Filters embedded into its source code; giving you the ability to modify routines if you need to; and without modifying the original source code.

That being said, you really won't need to do this, unless you want to. Placing a PayPal Button on the Login Welcome Page for Free Subscribers, will allow a User ( who just registered ) to proceed through the checkout process, and s2Member will "update" their account, instead of asking them to register for a new one. s2Member handles this automatically, just in case you're wondering.


Pls can you tell me where //how I should customise wp-login? I knwo i need to get it to refer to the css of my theme, but where is s2member telling wp-login to have the s2member header/banner?

Many thanks

Statistics: Posted by accessart — June 24th, 2010, 3:45 am


]]>