• jwells820

    (@jwells820)


    I’m new to wordpress so forgive me if this is a stupid question. I noticed that I wasn’t able to update my pages on the top navigation. Can anyone tell me what I may be doing wrong? I tried it with other themes and it worked fine but this one gave me issues (Wu Wei Theme).

Viewing 1 replies (of 1 total)
  • This response is way late, but I figured I would add it here anyways to help out.

    The Wu Wei theme is great, but it does require a little bit of code editing to get the page navigation at the top to work.

    To edit the pages on the top navigation, you will need to go into the ‘Administration Panel’ of your WordPress blog. When you are there, go into the section labeled ‘Appearance’, then click on ‘Editor’. When in ‘Editor’, select the ‘Wu Wei theme’ from the drop-down list. In the list you will want to click ‘Header (header.php)’.

    Scroll down while in the ‘header.php’ file and locate this coding:

    <ul id="menu">
    
    <li><a href="<?php echo get_option('home'); ?>/" <?php if(is_home()) {echo 'class="selected"';} ?>><span>to the beginning</span><br />home</a>
    </li>
    
    <li><a href="#"><span>description here</span><br />link 1</a></li>
    
    <li><a href="#"><span>description here</span><br />link 2</a></li>

    Do you see the # sign in <a href="#">? Well, what you need to do is to enter in a URL (site address) in place of that # sign directly in the code. Then, description here needs to be replaced with the description of the link, and link 1 and link 2 need to be replacd with the link name.

    Do not forget to click on the button ‘Update File’ when you are done editing the code. If you don’t do that, then the changes you made will not save.

    Now visit your site, click Refresh if you have to in your browser, and then the page navigation at the top should work on your blog.

    Hopefully this helps out!
    – JJR

    https://www.ads-software.com/extend/themes/wu-wei

Viewing 1 replies (of 1 total)
  • The topic ‘Pages doesn’t work’ is closed to new replies.