Page 1 of 1

How to add text lines to registration form?

PostPosted: May 4th, 2011, 5:50 am
by stefanogaruti
I need to add a line of text betwenn some of my custom fields in the registration form.

How can I do this?

Thanks

Stefano

Re: How to add text lines to registration form?

PostPosted: May 4th, 2011, 5:43 pm
by Cristián Lávaque
Hi Stefano.

Well, you could go about it in different ways:

1- In your Custom Registration Fields, the Field Label/Desc allows HTML, so you could work with that. WP Admin -> s2Member -> General Options -> Custom Registration Fields

2- Edit the file /s2member/includes/classes/custom-reg-fields.inc.php, maybe the ws_plugin__s2member_custom_field_gen hook.

3- Use the :before CSS selector. http://www.w3schools.com/css/sel_before.asp

I hope that helps. :)

Re: How to add text lines to registration form?

PostPosted: May 5th, 2011, 3:08 am
by stefanogaruti
Cristián Thank you!

I'll go the hooks way ... even if the fact that HTML is allowed in field's labels is very very interesting...

Stefano

Re: How to add text lines to registration form?

PostPosted: May 5th, 2011, 12:04 pm
by Cristián Lávaque
Cool. :)