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] Regarding restrictive page menus on several pages


  #1  
Old Sep 20, 2011, 12:56 PM
prathod
 
7 posts · Sep 2011
[SOLVED] Regarding restrictive page menus on several pages

Hello,

Thanks for a great Atahualpa theme.

I need some help..for a question below:

I have developed a web site. It has menus on menu bar, say 6 menus.
If I open a home or any other page on a website it shows all 6 menus.
Can I remove the visibility of some of the menus (say menu1,menu2, menu3) keeping 4,5,6 as it is on one page and remove the visibility of other menus (say menu4, menu5) keeping 1,2,3,5,6 as it is? After this, when I come back to Home page I should see all 6 menus as it is.

Thanks !
  #2  
Old Sep 20, 2011, 02:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You have confused me. A menu is made up of links to PAGES so you have
HTML Code:
home page1 page2 page3 page4 page5 page6
are you saying you originally want
HTML Code:
home page1 page2 page3 page4 
but if someone clicks on page4 the will see
HTML Code:
home page4 page5 page6
and when they press home the will see
HTML Code:
home page1 page2 page3 page4 
again?

If so, there is nothing in the theme that will do this currently, you might want to look for a plugin
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 20, 2011, 04:47 PM
prathod
 
7 posts · Sep 2011
Thanks juggledad,

Sorry for the confusion. Yes you are correct I want to exclude some pages from menu bar when user clicks on specific page.

i.e. if I have Home, page 1, page 2, page 3, page 4, page 5, page 6
If user clicks on page 3 then it should show: Home, page 1, page 3, page 4
and another case when user on page 5 it should be: Home, page 3, page 4, page 5, page 6

Something like that...I want to give stop displaying unnecessary pages to user.

Thanks !
  #4  
Old Sep 20, 2011, 04:58 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
sure in your CSS Inserts add
HTML Code:
body.page-id-3 li.page-item-2,
body.page-id-3 li.page-item-2,
body.page-id-3 li.page-item-6 {
    display:none;
}
body.page-id-5 li.page-item-1,
body.page-id-5 li.page-item-2 {
    display:none;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 21, 2011, 08:16 AM
prathod
 
7 posts · Sep 2011
Thanks juggledad for this excellent solution !

It worked perfect.

Thanks again !

Bookmarks

Tags
hide specific menus, menu bar, restrictions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Pages Menus on Left Sidebar on Different Pages kippiper Sidebars & Widgets 5 Oct 25, 2011 07:54 AM
[SOLVED] Is it possible to use Wordpress custom menus instead of pages/categories men gesman Page & Category Menu Bars 4 Jun 1, 2011 07:49 PM
[SOLVED] Combining Pages and Category menus dngood Page & Category Menu Bars 4 Feb 28, 2011 09:44 AM
[SOLVED] Item Padding inside Expaned Page Menus & Color of Items on current page. joshsweiss Page & Category Menu Bars 7 Feb 23, 2010 06:31 AM
Page menus masterchief Atahualpa 3 Wordpress theme 0 Oct 9, 2009 12:27 PM


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


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