Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Compact Login Code (for membership login)

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Compact Login Code (for membership login)

Tagged: compact login, eMember, login, wp membership

  • This topic has 4 replies, 4 voices, and was last updated 10 years, 9 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 7, 2010 at 9:34 pm #1467
    Shirley2010
    Member

    Hello,

    I want to add the following code

    <?php echo eMember_compact_login_widget(); ?>

    to my theme header. I got this code from your online documetation page. I just need to know “where” in the header.php I should paste this code.

    I don’t know anything about php so any advice would be greatly appreciated

    July 8, 2010 at 12:43 am #22317
    amin007
    Participant

    It depends on where in your header you want to place the login message. Basically you edit the “header.php” file of your theme and place that line of code where you want the login message to appear.

    Every theme has different code so I have no way of telling you the exact line number in your “header.php” file where you can place that code.

    July 8, 2010 at 6:39 pm #22318
    Shirley2010
    Member

    Ok I will figure it out.

    Thank you so much for taking the time to answer.

    July 25, 2014 at 4:11 pm #22319
    archenemys
    Member

    I’m using the Pinboard theme. The following code is my sites header.php. Can you tell me where to put paste the compact login code <?php echo eMember_compact_login_widget(); ?> so it shows up at the top of the page.

    I’ve tried a few spots withing the header area but it seems to duplicate and display the login info.

    I can just use a widget but that removes the social links which I want to keep.

    [header code removed after checking it]

    July 25, 2014 at 11:54 pm #22320
    admin
    Keymaster

    It is not very easy to read a theme’s HTML code but I am going to recommend that you insert that compact login code just after the following line in your header.php:

    <header id="header">

    You can try inserting it in a few different place to see where it works for you.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ