Vladimir’s WordPress Forum


 
Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Sidebar Control

Add a New Topic Reply to Post
UserPost

8:24
20 May, 2009


Werner

Guest

Hi,

This is probably easy, but I haven't had much sleep. When the user opens my web page, the sidebar must only display the Login Meta section. After a user logs in, all the menu's must display.

I looked for plugins to hide menus but without success. The only things all these types of plugins does is hide posts and pages. I need the entire menu to be hidden until logged in.

I have thought of creating a sidebar2.php file with just the Meta content and then sidebar.php will have everything in it. Would anybody know the php code to display sidebar2.php if logged out? and display sidebar.php if logged in? Should that php code be added into the index.php?

Any help regarding this will be appreciated.

Reply to Post

Reply to Topic:
Sidebar Control

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 2