WordPress.org

Support

Support » Themes and Templates » Move page links to header and remove title

Move page links to header and remove title

  • Hello,

    I am building a new theme for my blog and am having troubles moving the page links to my header.

    Everytime i move the <?php wp_list_pages(‘blah blah blah’); ?> it shows the title in an

  • and the links way below it.
  • I want to move the pagelinks only so basically stripping them to About etc etc and adding them to my header.

    Any ideas?

    Thanks

Viewing 1 replies (of 1 total)
  • nevermind i did it.

    in class_walker_page in classes.php i removed the ul tags from this

    $output .= $indent . '<a href="' . get_page_link($page->ID) . '" title="' . attribute_escape($page->post_title) . '">' . $page->post_title . '</a>';

Viewing 1 replies (of 1 total)
  • The topic ‘Move page links to header and remove title’ is closed to new replies.
Skip to toolbar