Vladimir’s WordPress Forum


 
guestdefault Vladimirs WordPress Forum
Current User: Guest user permissions Vladimirs WordPress Forum
Search Forums:


searchicon Vladimirs WordPress Forum 






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

topic Vladimirs WordPress Forum

Sidebar Control

addtopic Vladimirs WordPress Forum Add a New Topic addpost Vladimirs WordPress Forum Reply to Post
UserPost

8:24
20 May, 2009


Werner

guestdefault Vladimirs WordPress Forum
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.

addpost Vladimirs WordPress Forum Reply to Post

Reply to Topic:
Sidebar Control

Guest Name (Required):

Guest Email (Required):

htmlEditor Vladimirs WordPress Forum
Smileys
sf confused Vladimirs WordPress Forum sf cool Vladimirs WordPress Forum sf cry Vladimirs WordPress Forum sf embarassed Vladimirs WordPress Forum sf frown Vladimirs WordPress Forum sf kiss Vladimirs WordPress Forum sf laugh Vladimirs WordPress Forum sf smile Vladimirs WordPress Forum sf surprised Vladimirs WordPress Forum sf wink Vladimirs WordPress Forum sf yell Vladimirs WordPress Forum
Post New Reply

Guest URL (required)

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