Welcome to WebmasterWorld Guest from 54.226.27.104

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Menu manager

wordpress menu manager

     

Sollie

9:33 am on Sep 3, 2012 (gmt 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

lorax

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

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



Welcome to WebmasterWorld SOllie,
You could use the Widget Logic plugin.

Sollie

10:49 am on Sep 3, 2012 (gmt 0)



Tx I see it is compatible up to 3.3.2, does it have any issues with the latest WP version?

lorax

12:14 pm on Sep 4, 2012 (gmt 0)

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



Not that I"m aware of. I have it installed on several sites and have no problems.

Sollie

3:18 pm on Sep 11, 2012 (gmt 0)



Hi Again,

How would I display a widget on subpages of a menu?

Sollie

3:34 pm on Sep 11, 2012 (gmt 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.

lorax

10:26 pm on Sep 11, 2012 (gmt 0)

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



Glad to hear you got it sorted.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month