WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Newbie needs help linking Menu/Nav (1 post)

  1. scottso
    Member
    Posted 7 years ago #

    WP newbie here. Some HTML experience, but none for CSS. Need help with my website http://www.jokestarter.com:

    I can't figure out how to link items in my Menu (in the Header) to the appropriate pages. Duh, I mean it seems so simple but I can't figure it out. I knew HTML well enough to do this but when I tried revising the code in that way the entire site crashes.

    And yes, I've searched thru these forums, read posts about the same problems, looked at the solutions, but still can't figure out what to do. D'oh!

    Here's the code in my Header template (hopefully this is the problem area):

    ================

    <div id="wrapper">
    <div id="header">
    <h1>/"><?php bloginfo('name'); ?></h1>
    </div>
    <div id="navcontainer">
    <ul id="navlist">
    <li<?php if (is_home()) echo " class='selected'"; ?>>">Home<li<?php if (is_home()) echo " class='selected'"; ?>>">Headlines<li<?php if (is_home()) echo " class='selected'"; ?>>">Tips<li<?php if (is_home()) echo " class='selected'"; ?>>">About<li<?php if (is_home()) echo " class='selected'"; ?>>">Contact

    =================

    I'm trying to simply link these items to appropriate pages (the "Home" link works already):

    Headlines
    Tips
    About
    Contact

    I'm using Empowered Blue with Adsense as my template, and I suspect that that could be part of the problem. As I recall, when you edit in Presentation>Theme Editor with the standard template, linking/building the Menu nav is easy.

    Thanks in advance for a prompt reply that a WP/CSS newbie can understand; even emailing me directly with the correct code would be fantastic.

    cheers,
    scottso

    scottrschaefer(at)comcast.net

Topic Closed

This topic has been closed to new replies.

About this Topic