Using a Compact Login and Join Us Message
You can use a compact login form if you want to display a one line login and join us message anywhere on your membership site. When a member logs in it displays the name of the loggd in memember and an option to logout.
For example, I have placed this compact login form on the header of my theme and it looks like the following to an anonymous visitor:
When a member logs in it looks like the following:
How to Use the Compact Login Form?
You can use the following shortcode if you are placing it on a post or page:
[wp_eMember_compact_login]
If you are placing this on your theme’s template file then use the following PHP fuction where you want it to appear (e.g. header.php, footer.php etc):
<?php echo eMember_compact_login_widget(); ?>



when I try to use the compact php function in the alt-header, it tells me it’s an undefinded function. What do I need to do?
You just need an updated version of the membership plugin. This post will help you with the update:
http://www.tipsandtricks-hq.com/forum/topic/how-and-when-do-you-get-an-update
Is there a list of the css calls to customize the look of things such as the login form?
I am using the standard login form, but want to be able to style each element within, I can inspect with firebug but not sure of the string to use.
For example if I wanted to customize
What would I write for the css in my theme?
All the CSS style for this pluing is stored in a file called “eMember_style.css” inside the “wp-eMember” directory. So you just have to modify that file to customize the look of the login form.
Nope, installed latest version as suggested but still get message Fatal error: Call to undefined function emember_compact_login_widget() in /home/propnorg/public_html/blog/wp-content/themes/tubular-86542/tubular_10/header.php on line 60 when I try to insert
in the header.
@Simon, You have an error in the “function name”. The correct function name is the following (it’s case sensitive):
eMember_compact_login_widget()
You can copy and paste the function name from the documentation.
Sorry, I need more help. I have found the Theme functions (functions.php) file and beneath that a Documentation list but now totally confused. What exactly do I need to do to define the function and from what documentation can I copy and paste the function name and paste it where?
Many thanks
You just need to place the following line (it’s specified in this post). Just copy and paste the following line:
<?php echo eMember_compact_login_widget(); ?>
Hi
I have a website with a Black background and always have trouble with Plugins and have to change the CSS code frequently. I have set up eMember and have managed to change most of the color codes but I cannot figure out how to change this part – “Please Login to view this Content.(Not a member? Join Today!)” Only the links stand out. I also want to change the font family.
Can you help please.
Regards,
Please post a link to the page where you have this link so I can check the CSS and provide suggestions.
Is there a way to change the text for this? I’d rather it just say Hello, login, and nothing about joining.
Hi, The following forum post will explain how to customize text and messages that are displayed by the plugin.
http://www.tipsandtricks-hq.com/forum/topic/how-to-customize-various-textmessages-displayed-by-the-plugin
Let me know if you do not find the text you are looking for in this file.
Leave your response!
Get the WP eMember Plugin
Categories
Blogroll
Recent Comments
Tips and Tricks Hot Items
Copyright © 2012 WordPress Membership ® All Rights Reserved | Powered by WordPress | Infinity Remix theme by Tips and Tricks HQ
Log in | Comments (RSS) | Entries (RSS)