WordPress.org

Ready to get started?Download WordPress

Forums

Move page links to header and remove title (2 posts)

  1. whodeenie
    Member
    Posted 7 years ago #

    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

  2. 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

  • whodeenie
    Member
    Posted 7 years ago #

    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>';

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags