lorax

msg:4490882 | 10:41 am on Sep 3, 2012 (gmt 0) |
Welcome to WebmasterWorld SOllie, You could use the Widget Logic plugin.
|
Sollie

msg:4490893 | 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

msg:4491220 | 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:4493828 | 3:18 pm on Sep 11, 2012 (gmt 0) |
Hi Again, How would I display a widget on subpages of a menu?
|
Sollie

msg:4493837 | 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

msg:4493998 | 10:26 pm on Sep 11, 2012 (gmt 0) |
Glad to hear you got it sorted.
|
|