homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Menu manager
wordpress menu manager
Sollie



 
Msg#: 4490854 posted 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

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4490854 posted 10:41 am on Sep 3, 2012 (gmt 0)

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

Sollie



 
Msg#: 4490854 posted 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

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4490854 posted 12:14 pm on Sep 4, 2012 (gmt 0)

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

Sollie



 
Msg#: 4490854 posted 3:18 pm on Sep 11, 2012 (gmt 0)

Hi Again,

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

Sollie



 
Msg#: 4490854 posted 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

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4490854 posted 10:26 pm on Sep 11, 2012 (gmt 0)

Glad to hear you got it sorted.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved