- This topic has 0 replies, 1 voice, and was last updated 10 years ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The topic ‘WP eMember – Creating or Customizing the Compact Login Widget/Links’ is closed to new replies.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember F.A.Q/Instructions › WP eMember – Creating or Customizing the Compact Login Widget/Links
Tagged: eMember compact login
WP eMember has a shortcode (and a function) that you can use to place a compact login widget on your site:
http://www.tipsandtricks-hq.com/wordpress-membership/using-a-compact-login-and-join-us-message-203
This shortcode will do exactly what is demonstrated in our documentation. Obviously we cannot make a compact login widget that will suit everyone’s need (Different users like different things).If you need to customize something in the login widget it is better to write your own little function and then use that. It requires some basic understanding of PHP, HTML and CSS.
We have created a placeholder function in eMember with some basic quick links and necessary comments for your understanding. You can customize this function (add or remove links) and use it as your own custom compact login widget.
Where to find this placeholder function
Look for the “eMember_compact_login_widget_custom” function in the “eMember_auth_utils.php” file of the plugin then change whatever you like there (the comments should help).
How to use this custom compact login widget
You can use the following shortcode:
[wp_eMember_compact_login_custom]
or Use the following function from your template file:
<?php echo eMember_compact_login_widget_custom(); ?>