• Resolved tyler3283

    (@tyler3283)


    Hey everyone –

    I’ve been searching around and gathered bits and pieces but think I’m still missing one step. I have a blog – https://www.tylerberry.com and have created some tutorial videos I’m going to post. I didn’t want them to be in the same body as my blog so I decided to give them their own page. I created the page no problem, added the video and everything previews fine. I hit publish and I can’t find it on my main page anywhere. After reading a bunch, it seems that I need to incorporate the wp_list_pages() tag somehere in my Header.php in my template directory . . . correct? I just don’t know where to put it. I want the pages I create to show up under “Navigation” on the top left of my page. Currently it has home and about. Anyone have any suggestions? Thanks in advance.
    TB

Viewing 4 replies - 1 through 4 (of 4 total)
  • not with this theme. it’s in your sidebar file

    currently you have pages showing up as

    <h2>Navigation</h2>
    			<ul>
    <li><a href="https://tylerberry.com" rel="nofollow">Home</a></li>
    <li><a href="https://tylerberry.com/about/" rel="nofollow">About</a></li>
    			</ul>

    just add the function on a new list line where you want it
    <li>...</li>

    Thread Starter tyler3283

    (@tyler3283)

    Ok – That’s a huge help Grey and much appreciated. I didn’t find it in my sidebar but I did find it in nav_menu.php. Here’s where me being a total nOOb shows up . . . I added this line exactly:

    <li >wp_list_pages()</li >

    Checked back to my blog and it showed up under navigation! Except instead of my new page showing up, it says, “wp_list_pages()”. Clearly I’m missing some more bit’s of html.
    TB

    okay, it need to be written as the whole php tag and function, so insert the line:

    <li><?php wp_list_pages('title_li=' ); ?></li>

    ??

    Thread Starter tyler3283

    (@tyler3283)

    Grey is definitely good! Thanks for your help – it now works. I really appreciate it!
    TB

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get a page to show up in my Navigation Menu.’ is closed to new replies.