Support » Themes and Templates » Header Help with StudioPress theme

  • Hi There, I did a revamp on my web page and ow using the StudioPress theme however it doesn’t support the menus so all of my pages are on the menu bar. I have tried to edit the menu but without success as i only want about 8 of the pages as headings- my site is http://www.equinestaff.com.au any help would be great.

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is quite an old theme, and you could probably find a much better one to use. However if you wanto to remove pages from showing in the menu. In header.php find this:

    get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');

    Change to this

    get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and ID !="39" and post_type = "page" order by ID');

    In this example, it will remove page id 39 from the menu

    Thanks for your help – however no go- when i do this it comes up with this Parse error: syntax error, unexpected ‘}’, expecting T_STRING or T_VARIABLE or ‘$’ in /home/equinest/public_html/wp-content/themes/studiopress/header.php on line 46

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header Help with StudioPress theme’ is closed to new replies.