Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Links Not Pages

  1. #11
    Ipstenu's Avatar
    Ipstenu is offline Big Tipper
    Join Date
    Feb 2010
    Posts
    368

    Default

    You have to set up your theme to use the menus.

    See http://www.sitepoint.com/blogs/2010/...wordpress-3-0/

  2. #12
    Xarzu's Avatar
    Xarzu is offline Hello World
    Join Date
    Oct 2009
    Posts
    68

    Default

    Quote Originally Posted by mfields View Post
    +1 For the use of a harcoded <li> element. I would not suggest that you use this plugin http://txfx.net/wordpress-plugins/page-links-to/ I was recently hired to finish an already started custom WordPress installation that used this plugin and made my life a bit of a nightmare. I'm my experience with customizing WordPress it is always best to use the least complex method available. mkjones' is the best method IMO. Something like this in header.php:

    PHP Code:
    <ul>
    <?php wp_list_pages(); ?>
    <li><a href="<?php bloginfo('url'); ?>/forums/">Forums</a></li>
    </ul>
    On another note, once WordPress 3.0 hits the shelves, you will be able to take advantage of the new menu system.
    What is the difference between:
    ...themes\mytheme\templates\header.php
    and
    ...themes\mytheme\header.php
    ??

    I assume that it is the templates\header.php file that I need to change because the php code simply looks like it will produce the file I need.
    In order to do this, I need to know what <?php bloginfo(''); ?> is it all about. Does bloginfo refer to an ID that is set in some other file?

  3. #13
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,993

    Default

    Quote Originally Posted by Xarzu View Post
    What is the difference between:
    ...themes\mytheme\templates\header.php
    and
    ...themes\mytheme\header.php
    ??

    I assume that it is the templates\header.php file that I need to change because the php code simply looks like it will produce the file I need.
    Without seeing your theme template files, I really have no idea.

    mytheme\header.php is the file returned by get_header(). If mytheme\templates\hdeader.php is used anywhere in the theme, it will be called using include().

    In order to do this, I need to know what <?php bloginfo(''); ?> is it all about. Does bloginfo refer to an ID that is set in some other file?
    The Codex is your friend: bloginfo().
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  4. #14
    anca is offline Hello World
    Join Date
    Apr 2010
    Posts
    3

    Default

    Whether your theme supports menus or not, you can still create them. The reason your menu screen is "grey" is because you need to "add" a new menu first (the site doesn't start out with any). This isn't really obvious in the UI for Menus.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •