Title: Tomas2011's Replies | WordPress.org

---

# Tomas2011

  [  ](https://wordpress.org/support/users/tomas2011/)

 *   [Profile](https://wordpress.org/support/users/tomas2011/)
 *   [Topics Started](https://wordpress.org/support/users/tomas2011/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tomas2011/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tomas2011/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tomas2011/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tomas2011/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tomas2011/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/tomas2011/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/tomas2011/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to display "subscribe" (membership) checkbox?](https://wordpress.org/support/topic/how-to-display-subscribe-membership-checkbox/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-display-subscribe-membership-checkbox/#post-4172840)
 * Yes, great, thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160028)
 * Yees, now we can sing and drink and rejoice!
 * My blog says big thanks! 🙂
 * Tomas
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160025)
 * Good and bad news. 🙂
 * Now it works for tag and category links.
 * But for archive month (which is actually more prominent link on my blog than 
   tag/category) – i.e. when I click on “September” – it is still the same.
 * Not sure given my very basic understanding of these things, but is it perhaps
   that months (e.g. “2013/09/” in the address, at least that is what is shown in
   my case) are not treated in the changed statement above, unlike “is_category”
   and “is_tag”? So – just a non-professional idea – is there something like “is_date”
   or whatever?
 * Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160022)
 * Thank you for your patience.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160018)
 * I apologize but this removes Blog from the top menu even in cases when it was
   displayed originally, and it doesn’t add it there when clicking on the archive
   month etc.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160013)
 * I’m sorry for the trouble, but I noticed some odd behaviour in certain scenarios.
 * When on address myweb.com/blog or myweb.com/blog/postname, all is fine.
 * But when I click on a month in archive
    – so the path is myweb.com/blog/2013/
   09/
 * on a blog category
    – myweb.com/blog/category/nameofthecategory/
 * or on some tag
    – myweb.com/blog/tag/nameofthetag/
 * the blog section is then again shown without the Blog in the top menu.
 * Is there some solution to this? If there can be some hard-coded filter to force
   the display of “Blog” in the top menu every time when there is /blog/ in the 
   address of a page, that would do. Not sure if that is possible though.
 * Or, alternatively, isn’t it possible to define a “negative” filter for Blog, 
   so I would make the page _public_ but define that everything with /blog/ in address
   is hidden in the top menu unless a reader is on a page with /blog/ in the address?
   That could maybe also solve the “dual” behaviour with months etc. in a more straightforward
   manner?
 * Thank you very much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/page/2/#post-4160002)
 * Yes, this works perfectly, thank you very much! 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159996)
 * Hi Doug,
 * Thank you very much! Just take your time, I’m surely not in a position to chase
   you about a favour. 🙂 I look forward to the solution.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159992)
 * Yes, I tried and can confirm you are right. 🙂
 * But now I’m eager to know about the original issue. 🙂 Should I install Excl.
   Pages plugin to start with?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159988)
 * OK these links work, thanks. I have the blog page set as private and can see 
   it (not in the top menu, but via a direct link) when logged out though.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159986)
 * Hello Doug,
 * I have a static page defined, but I have Welcome page there (I don’t want newcomers
   who use main domain address – not a blog link – to see my blog). In addition,
   I see only published pages (i.e. not those private) listed as options for the
   static page.
 * Content visiblity link above does not work.
 * How is it possible then that I can see private page (if I use direct link) when
   logged out? Can I somehow test if permissions are OK?
 * Re Exclude Pages – the problem is **I don’t want to take the page out of the 
   menu completely. I want it to be there, but only when the reader is on that page.**
 * Example – full top menu in administration could be
    Home * Services * Contact*
   Blog
 * When someone lands on my website at top level domain, they will see
    Home * Services*
   Contact
 * When someone visits Blog page of my website through a direct link, they will 
   see
    Home * Services * Contact * Blog
 * When someone visits Blog page and then click e.g. on Home in the top menu, they
   will again see only
    Home * Services * Contact
 * Anyway, maybe I understand it better now. Do you suggest I should install Exclude
   Pages plugin to have “hidden” option for pages, then define Blog as hidden (and
   not private), and then add your code?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159981)
 * Hello,
 * Sorry, but I see no option to make a hidden page. I can have
    – public – password
   protected – private
 * I apologize, I know I used “hidden” above which could be misleading.
 * However I’m able to see the private Blog page (using the direct link) even if
   I log out. So I presume anyone can visit it, only it is not shown (as private)
   in the top menu by default. If this is not true, how (where) do I define “hidden”
   page then?
 * I’m not hiding any posts, and I put all posts onto a Blog page.
 * I will try to explain other way:
    On my website, there is a few pages like Welcome,
   Services, Contact, Blog. Welcome page is represented by Home menu item, and there
   is a workaround that prevents “dual” displaying of Welcome menu item. Blog page
   is private and all posts would go there.
 * The only think I need differently is to make Blog section – which is private 
   and which uses /blog/ as part of a permalink – visible in the top menu when someone
   uses a direct link to the Blog, but invisible when someone comes to the main 
   website. All this in a way that Welcome menu item does not reappear (as described
   in the post above).
 * Is it better described now? Can you help me?
 * Thank you!
 * Tomas
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159971)
 * PS I realized it had one undesired side effect – I have Welcome page, but I have
   a workaround so that “Home” menu item serves as a link to this Welcome page. 
   So Welcome menu item is invisible. But with the configuration above, when I was
   on the Home page, both Home and Welcome menu items appeared. 🙂
 * So it does something, but – apart from the issue above – I would like to limit
   this feature only to pages where there are posts. If it can be strictly a condition
   that the URL/permalink of the page/post have to contain “/blog” for the hidden
   menu item to appear, that would make me happy. Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159970)
 * Hello Doug,
 * Unfortunately that does not work. If I set the page as Private, and go to the
   URL with blog posts, the page name is not shown in the top menu.
 * Any other ideas would be much appreciated. Thank you.
 * Tomas
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Motion theme by Volcanic – how to change this?](https://wordpress.org/support/topic/motion-theme-by-volcanic-how-to-change-this/)
 *  Thread Starter [Tomas2011](https://wordpress.org/support/users/tomas2011/)
 * (@tomas2011)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/motion-theme-by-volcanic-how-to-change-this/#post-3219851)
 * OK, I made the editing directly in footer.php and header.php for this theme to
   eliminate the unwanted items.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/tomas2011/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/tomas2011/replies/page/2/?output_format=md)