patrryk22 0 Report post Posted April 26, 2011 hi id like to hide menu item and its child items only for loged in users tell me how to do this in platform pro? best regards Patryk Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 26, 2011 is there a posiibility to solve it ? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 26, 2011 does anyone has solved it ? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 26, 2011 guys will someone helps how to do it? Share this post Link to post Share on other sites
catrina 103 Report post Posted April 27, 2011 I'm not sure if this is possible. Do you want to do this temporarily or is this something that you want permanently? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 It will be permanently, ive read somewhere thatcher tnie fan be done but only in themes functions so Thatcher why im asking for help Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 i found some soulution here: http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/ but i dont know where and how to put it in Platform Pro theme. I need one piece of menu hide from not logged in users. Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 does any one ,knows that? well i see that in this file library.templates.php is menu function placed.. how to use this function <?php if (current_user_can('level_10')){ ?> dynamicly ? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 Will anyone knows how to solve the problem? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 how this support works ? Share this post Link to post Share on other sites
cmunns 16 Report post Posted April 27, 2011 you will need to modify the navigation code if you want use two menus. Using -Base child theme create a file called template.nav.php and paste this into it: ` <?php if(function_exists('wp_nav_menu')){ wp_nav_menu( array('menu_class' => 'main-nav'.pagelines_nav_classes(), 'container' => null, 'container_class' => '', 'depth' => 3, 'theme_location'=>'primary', 'fallback_cb'=>'pagelines_nav_fallback') ); }else{ pagelines_nav_fallback(); } if(!pagelines_option('hidesearch')){ get_search_form(); } ?> ` which is what the default is....then you can modify/add conditional tags like you mentioned above to this code. Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 Adam first thing: what is :Base Child Theme? how to create and where to put this file on ftp? second: ive only found those conditions but i m not keeon on it to use it Can you send me step by step what to do ? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 ok i have child but.. could you send me file to put iin ? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 27, 2011 Adam could make this modification on my live test site? Share this post Link to post Share on other sites
cmunns 16 Report post Posted April 28, 2011 You are welcome to hire someone from http://pagelines.com/pros...but forum moderators can't access your site in this way. Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 28, 2011 adam i ve send you enquiry via email could you respond and tell me how much will cost this PRO job? Share this post Link to post Share on other sites
patrryk22 0 Report post Posted April 28, 2011 well it is said that on the forum i can not get this kind of help i think a lot of users wonders how to hide some part of menu from not logged in users, and show i only when user is logged in ..... Share this post Link to post Share on other sites
jordi 0 Report post Posted November 29, 2011 Ok, if you don't want to get nuts... in recent versions of platform the template file which overrides the primary navigation template must be called "template.primary-nav.php" Regards. Jordi López Garrostas programador web w: http://www.sensecomentaris.com Share this post Link to post Share on other sites