Login Widget on Page
Posted: January 30th, 2012, 3:15 pm
HI!
I'm having trouble getting the login widget on a page and I'd love some help!
It works beautifully in the sidebar, but several of the members-only pages use a template with no sidebar, so I'd like to add the widget to the bottom of these pages.
I'm using this code:
<?php echo s2member_pro_login_widget(); ?>
with PHP Execution plugin installed.
I have tried placing this in several places - directly at the bottom of the page, or in one of the Genesis Simple Hooks like genesis_after_content. Sometimes all I get is the code displaying as text, or I get the widget but it is at the top of the page over the top of other page content.
Any advice on how to get this to work would be greatly appreciated!
I'm having trouble getting the login widget on a page and I'd love some help!
It works beautifully in the sidebar, but several of the members-only pages use a template with no sidebar, so I'd like to add the widget to the bottom of these pages.
I'm using this code:
<?php echo s2member_pro_login_widget(); ?>
with PHP Execution plugin installed.
I have tried placing this in several places - directly at the bottom of the page, or in one of the Genesis Simple Hooks like genesis_after_content. Sometimes all I get is the code displaying as text, or I get the widget but it is at the top of the page over the top of other page content.
Any advice on how to get this to work would be greatly appreciated!