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

Reply To: Question about adding login status to Nav bar on page

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Question about adding login status to Nav bar on page › Reply To: Question about adding login status to Nav bar on page

January 14, 2010 at 7:24 pm #17193
hermedia
Member

Tried this :) inserted into header.php (where my WP login plugin was inserted) and it’s not showing


<?php

if (function_exists(‘wp_eMember_install’))

{

global $auth;

$user_id = $auth->getUserInfo(‘member_id’);

if (!empty($user_id))

{

//Member is logged in so display whatever you want

}

else

{

//Member is not logged 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