Edit header functions
-
U notice the functions on the header . How do i change the names and the links ?
For instance i want to remove the “weblog” option and replace it with “contact us” option and this page http://soccerglobe.net/?page_id=14 . What part of the code below do i change ?
<ul class=”menu”>
<li class=”<?php if ( is_home() ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>“>Home<li class=”<?php if ( is_category(‘weblog’) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/index.php/category/weblog/”>Weblog
<li class=”<?php if ( is_category(‘resources’) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/index.php/category/resources/”>Resources
<li class=”<?php if ( is_page(‘about’) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/index.php/about/”>About
<li class=”<?php if ( is_page(‘archives’) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/index.php/archives/”>Archives
<li class=”<?php if ( is_page(‘download’) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>/index.php/download/”>Download
-
You’re asking in the wrong place. Please read the sticky thread at the head of the forums titled Read Me First. We don’t edit php here at WordPress.com.
-
- The topic ‘Edit header functions’ is closed to new replies.