clef/clef-wordpress

[clef_render_login_button] shortcode enhancement requests

Opened this issue · 2 comments

The existing [clef_render_login_button] shortcode creates a large button with a moving wave.
image

This is a great option for a login or account page but I feel it's less suitable for placement in other site areas such as a header, footer, and sidebar. It's rather large, and many of us find moving items annoying on items in those areas.

I'm suggesting the following enhancements:

  1. an option for a button with less text, e.g. "Log in" or "Sign in"
  2. symbol options, e.g. moving wave for those that want it, maybe a static wave or the Clef logo for those that don't.
  3. It would be good if it altered with logged in status, i.e. offers login options when user is logged out, and is either not visible or offers Log out option when the user is logged in.

Discuss ;-)

Loping animation can be considered an accessibility issues as it's distracting to people with attention or cognitive disabilities. It would definitely be nice to be able to pick a static image.

I sent an email about this but also a 'Register with Clef' button. 'Log in' isn't always appropriate.