Hello all,
I’m pretty new to PHP-programming and am working with Wordpress. Don’t really know if I’m in the right place for my question, but I wanted to give it a try.
I ran into an error with this code:
[php]<? php
function secondary_menu_listing()}
?>
<? php
if (is_page (array('9,231,237,235')));
wp_list_pages (include='9,231,237,235');
if (is_page (array(‘14,121,124,119,104’)));
wp_list_pages (include=‘14,121,124,119,104’);
if (is_page (array(‘246,230,252,254,259,257’)));
wp_list_pages (include=‘246,230,252,254,259,257’);
?>
{ <? php add_action ('graphene_before_content'); ?>[/php]
The numbers are page_id’s. I was trying to make different menu’s for different page’s. In style.css I make the list horizontal en get rid of the bullets, making it some sort of navigation menu.
Hope anyone can figure this out…
Thanks!
Manasse