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.

Login Widget – add onfocus to the fields

Home Forums Community Forum Login Widget – add onfocus to the fields

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 3 years, 6 months ago.

Topic Author Topic
Posted: Saturday Jun 22nd, 2013 at 9:25 am #52380

Hi,

I’m using the login widget in my sidebar but I don’t want to show the form labels.

Instead I want to show a ‘value’ text in the form field block and have it hidden onfocus / onfocus.

I’ve tired amending the code to do this but without sucess – can anyone help?

Thanks
Cath

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Sunday Jun 23rd, 2013 at 12:33 am #52407

I guess you’d have to edit the widget’s source code: s2member-pro/includes/classes/login-widget.inc.php

Work on a copy of that file and put it in the must-use plugins directory, so it doesn’t get overwritten when updating s2Member. /wp-content/mu-plugins/

If you have caching enabled, you should refresh it after your edits so the changes show up in the site.

Viewing 1 replies (of 1 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.