Title: Much answer
Last modified: August 19, 2016

---

# Much answer

 *  [vicar1992](https://wordpress.org/support/users/vicar1992/)
 * (@vicar1992)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/)
 * Hello, i am an italian boy so i speak bad english..
 * I have a blog and i have a menu..
 * 1. I would view a part of menu only **not registred**(login)..and a part of menu
   only **registred**(Logout) ..Do you understand?
    How i do that?
 * 2. How I do to see a page **only registred**?
 * 3. Login’s name, Where is that variable? I would insert that name in home page..
   How i do that?
 * Sorry for my bad english 🙁

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Thread Starter [vicar1992](https://wordpress.org/support/users/vicar1992/)
 * (@vicar1992)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294095)
 * Nothing? 🙁
 *  [Christian Schenk](https://wordpress.org/support/users/chschenk/)
 * (@chschenk)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294100)
 * Are you looking for these two functions?
    - [wp_register](http://codex.wordpress.org/Function_Reference/wp_register)
    - [wp_loginout](http://codex.wordpress.org/Function_Reference/wp_loginout)
 * Do you need help using them? Have a look at the default theme under `wp-content/
   themes/default` and open the file `sidebar.php` – you can find an example there.
 * Still no luck? Just tell us…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294101)
 * My guess was that Vicar1992 wants part of the sidebar to be hidden to unregistered
   users. But I couldn’t find a decent plugin that could do that and I don’t currently
   have the functioning brain cells to try and write the code for it. 🙁
 *  [Christian Schenk](https://wordpress.org/support/users/chschenk/)
 * (@chschenk)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294106)
 * If he wanted to do that he could wrap the corresponding part of the sidebar with
   [is_user_logged_in](http://codex.wordpress.org/Function_Reference/is_user_logged_in).
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294107)
 * That’s it! See – said the brain wasn’t functioning properly.
 *  [Christian Schenk](https://wordpress.org/support/users/chschenk/)
 * (@chschenk)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294112)
 * Don’t drink and code 😉
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294118)
 * I wish! I might have enjoyed it. Viruses on the other hand…
 *  [Christian Schenk](https://wordpress.org/support/users/chschenk/)
 * (@chschenk)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294123)
 * Hope it’s not the swine flu – everybody is afraid of it here in Germany 😉 Anyway,
   take some rest.
 * Man, we’re getting off topic here…
 *  Thread Starter [vicar1992](https://wordpress.org/support/users/vicar1992/)
 * (@vicar1992)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294169)
 * Thnakyou but it doesn0t work 🙁
 *     ```
       <div class="secondmenu">
       		<ul>
       			<li class="first" <?php if (is_page('schedina-serie-a')) { echo " id=\"firstcurrent\""; } ?>>
       <a href="<?php bloginfo('url'); ?>/schedina-serie-a/" title="Gioca la schedina">Gioca la schedina</a>
       			</li>
       			<li class="last" <?php if (is_page('URL')) { echo " id=\"lastcurrent\""; } ?>>
       <a href="<?php bloginfo('url'); ?>/wp-login.php/" title="Login">Log-in</a>
       			</li>
       		</ul>
       	</div>
       <?php
   
       if ( is_user_logged_in() ) {
       			<li class="last" <?php if (is_page('URL')) { echo " id=\"lastcurrent\""; } ?>>
       <a href="<?php bloginfo('url'); ?>/wp-login.php/" title="Login">Log-in</a>
       			</li>
       } else {
       			<li class="last" <?php if (is_page('URL')) { echo " id=\"lastcurrent\""; } ?>>
       <a href="<?php bloginfo('url'); ?>/wp-login.php/" title="LOGOUT">LOGOUT</a>
       			</li>
       };
       ?>
       ```
   
 * In up there is a Menu, and down the code.. How do you do? 🙁
 *  [powerfulsmile](https://wordpress.org/support/users/powerfulsmile/)
 * (@powerfulsmile)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294172)
 * I haven’t default’s theme..
    🙁
 *  [Christian Schenk](https://wordpress.org/support/users/chschenk/)
 * (@chschenk)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294176)
 * [@vicar1992](https://wordpress.org/support/users/vicar1992/): try replacing `
   is_user_logged_in()` with `!$user_ID`, maybe that’s better. Anyway, it should
   work as expected and if we knew what you’re really trying to do maybe we can 
   tell you what’s wrong.
 * [@powerfulsmile](https://wordpress.org/support/users/powerfulsmile/): go to [wordpress.org/download](http://wordpress.org/download/),
   grab the latest version of WordPress, unzip it and navigate to the folder `wp-
   content/themes`: you’ll find a folder “`default`” there.
 *  Thread Starter [vicar1992](https://wordpress.org/support/users/vicar1992/)
 * (@vicar1992)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294177)
 * Ok, I would this menu..
 * For Registred User
    <img src=”[http://i49.tinypic.com/mjq1ab.png&#8221](http://i49.tinypic.com/mjq1ab.png&#8221);
   border=”0″>
 * For Visitator
    <img src=”[http://i46.tinypic.com/oqj7ty.png&#8221](http://i46.tinypic.com/oqj7ty.png&#8221);
   border=”0″>
 *  Thread Starter [vicar1992](https://wordpress.org/support/users/vicar1992/)
 * (@vicar1992)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294185)
 * Nothing? It is important 🙁 Pleaseeeee 🙂
 *  [powerfulsmile](https://wordpress.org/support/users/powerfulsmile/)
 * (@powerfulsmile)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294210)
 * Ok thanks for theme but i can’t do the same of Vicar1992

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Much answer’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 4 participants
 * Last reply from: [powerfulsmile](https://wordpress.org/support/users/powerfulsmile/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/much-answer/#post-1294210)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
