latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

s2member widget without titles in php

Home Forums Community Forum s2member widget without titles in php

Tagged: , ,

This topic contains 3 replies, has 2 voices. Last updated by  Bruce 3 years, 8 months ago.

Topic Author Topic
Posted: Friday Apr 12th, 2013 at 6:04 pm #47332

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Saturday Apr 13th, 2013 at 12:43 am #47381
Bruce
Username: Bruce
Staff Member

This is what i have in the header.php file:

?>

< ?php echo do_shortcode(" “); ?>

You need to use s2Member’s s2member_pro_login_widget() function.

By default the title option in the $options array is Membership Login, but you can change it. You can find documentation on how to do that here:

http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_pro_login_widget()

Posted: Saturday Apr 13th, 2013 at 6:01 am #47410

I had actually copied more in but it seems it wasnt allowed.

As said before I have used the php shortcode

s2member_pro_login_widget()

. I dont understand the page linked. Ive been on that several times and it only explains each title without showing how to implement them. I only need to remove the ones labled ‘title’ and ‘profile_title’. So how can I remove ‘title’ and ‘profile_title’ from

s2member_pro_login_widget()

?

Thanks

Posted: Monday Apr 15th, 2013 at 6:46 pm #47526
Bruce
Username: Bruce
Staff Member

To remove the title and profile_title text, you’d do this:

<?php echo s2member_pro_login_widget(array('title' => NULL, 'profile_title' => NULL)); ?>
Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.