Title: Need php help editing a template
Last modified: August 19, 2016

---

# Need php help editing a template

 *  [pmozell](https://wordpress.org/support/users/pmozell/)
 * (@pmozell)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/need-php-help-editing-a-template/)
 * On this blog: [http://mozellstudios.com/blog](http://mozellstudios.com/blog/)/
   I am trying to add a “Home” button on the horizontal menu bar – its not currently
   an option. The Theme I downloaded is “Persephone 1.1 by Themocracy”. I’ve tried
   to add
    - Home
    -  to the Header page without success. I believe I need to add a command to 
      the following function, which appears in Functions.php.
    -     ```
          function ap_buildMenu(){
      
          		$mo = ap_getPageMenuOrder();
          		$exc = get_option('ap_pagesOmit');		
      
          		$excString = (!empty($exc)) ? '&exclude=' . $exc : '';
      
          		wp_list_pages('title_li=&sort_column='.$mo. '&depth=1'. $excString);
          		return NULL;
          	}
          ```
      
    - What should I add?
       Thanks!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/need-php-help-editing-a-template/#post-1373639)
 * Looks like you managed to solve it yourself.

Viewing 1 replies (of 1 total)

The topic ‘Need php help editing a template’ is closed to new replies.

## Tags

 * [PHP help](https://wordpress.org/support/topic-tag/php-help/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/need-php-help-editing-a-template/#post-1373639)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
