Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] How to hide Registration menu link for logged in users?


 
Prev Previous Post   Next Post Next
  #1  
Old Jan 7, 2011, 08:55 PM
Sacka
 
2 posts · Jan 2011
[SOLVED] How to hide Registration menu link for logged in users?

Hi, my first post, and I can't figure something out. For some themes you can use this on the header.php (13, 12 being the page IDs to exclude)

PHP Code:
<?php
                
if(is_user_logged_in()){
        
wp_list_pages('sort_column=menu_order&depth=2&title_li=&exclude=13,12');
    }
    else{
        
wp_list_pages('sort_column=menu_order&depth=2&title_li');
    }
                
?>
but Atahualpa works differently and I can't figure out how to do it. Any ideas?

Atahualpa 3.53 and trying to hide the "Register" menu page off the menu bar for logged in users.

Thanks
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade 3.49-> 3.53 ok when logged in, white page when logged out. jasonchamb New Versions, & Updating 3 Oct 24, 2010 05:31 PM
Possible to only display Page menu to logged in users? Thomas Page & Category Menu Bars 7 Jul 5, 2010 01:54 AM
[SOLVED] Comments link not showing when not logged in sargemarcori Forum How-To 1 Jun 2, 2010 03:27 PM
Hide a Post but have a Link to it in Sidebar treeplant Center area post/pages 6 Apr 18, 2010 07:22 PM
User Registration link vincotek Atahualpa 3 Wordpress theme 8 May 6, 2009 03:50 PM


All times are GMT -6. The time now is 04:12 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.