Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-30T12:32:17-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6623 2011-05-30T12:32:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6623&p=16310#p16310 <![CDATA[Re: help with <?php echo s2member_pro_login_widget(); ?>]]>

Statistics: Posted by Cristián Lávaque — May 30th, 2011, 12:32 pm


]]>
2011-05-30T01:38:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6623&p=16298#p16298 <![CDATA[Re: help with <?php echo s2member_pro_login_widget(); ?>]]>
Thank you so so sooooo much for your awesome quick reply!!

This code worked!! Thank you!
Code:
<?php echo s2member_pro_login_widget(array("display_gravatar" => "0")); ?>

Statistics: Posted by cnyc31 — May 30th, 2011, 1:38 am


]]>
2011-05-30T00:18:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6623&p=16296#p16296 <![CDATA[Re: help with <?php echo s2member_pro_login_widget(); ?>]]> $options is supposed to be an array, so you should do it like this:

Code:
<?php echo s2member_pro_login_widget(array('display_gravatar' => 0)); ?>


If you want to pass more options, just add them to the array.

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — May 30th, 2011, 12:18 am


]]>
2011-05-29T23:18:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6623&p=16291#p16291 <![CDATA[help with <?php echo s2member_pro_login_widget(); ?>]]>
I figure out how to put this code to create a login form within a post.
Code:
<?php echo s2member_pro_login_widget(); ?>


I would like to remove the gravator option.


The code guide said this.

"display_gravatar" => "1" ——— Display Gravatar image when logged in? 1 = yes, 0 = no. Gravatars are based on email address.


How do I do this? I can't get it to work.
Like this?

Code:
<?php echo s2member_pro_login_widget($options, "display_gravatar" => "0" ); ?>




More coding help.


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:



Thank you so much for your help!

Chris from Tokyo
www.AoyamaKoiCafe.com

Statistics: Posted by cnyc31 — May 29th, 2011, 11:18 pm


]]>