Welcome to WebmasterWorld Guest from 54.196.231.129

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Menu manager

wordpress menu manager

     
9:33 am on Sep 3, 2012 (gmt 0)

New User

joined:Sept 3, 2012
posts: 4
votes: 0


Hi,

I am looking for a plugin that will allow me to manage which menu appear on a specific part or certain pages of my site, is there a plugin available that can do this?

Tx
10:41 am on Sept 3, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Welcome to WebmasterWorld SOllie,
You could use the Widget Logic plugin.
10:49 am on Sept 3, 2012 (gmt 0)

New User

joined:Sept 3, 2012
posts: 4
votes: 0


Tx I see it is compatible up to 3.3.2, does it have any issues with the latest WP version?
12:14 pm on Sept 4, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Not that I"m aware of. I have it installed on several sites and have no problems.
3:18 pm on Sept 11, 2012 (gmt 0)

New User

joined:Sept 3, 2012
posts: 4
votes: 0


Hi Again,

How would I display a widget on subpages of a menu?
3:34 pm on Sept 11, 2012 (gmt 0)

New User

joined:Sept 3, 2012
posts: 4
votes: 0


This seems to be working fine;

I added the code below to functions.php

"function is_subpage() {
global $post; // load details about this page

if ( is_page() && $post->post_parent ) { // test to see if the page has a parent
return $post->post_parent; // return the ID of the parent post

} else { // there is no parent so ...
return false; // ... the answer to the question is false
}
}"

And added the following to my widget;
"is_page(446) || is_subpage(446)"
446 being the page_id of the parent post.
10:26 pm on Sept 11, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Glad to hear you got it sorted.