Results 1 to 3 of 3

Thread: Lots of trouble adding links to a WP template

  1. #1
    Registered
    Join Date
    Jun 2008
    Posts
    13

    Angry Lots of trouble adding links to a WP template

    I am working on a Wordpress site and am having problems with the links. Links on the left are fine but I can't seem to get all of them to show up and work above the journal. I'm trying to include only certain categories. Here is the code:

    <div id="menu"><ul>
    <li class="page_item"><a href="<?php echo get_option('home'); ?>">Home</a></li><?php wp_list_categories('sort_column=name&sort_order=as c&style=list&children=false&hierarchical=true&&inc lude=3,6,9, 11,19&title_li=0'); ?>

    <?php
    $options = get_option('widget_pages');
    $exclude = empty($options['exclude'] ) ? '' : $options['exclude'];
    wp_list_pages('sort_column=menu_order&depth=1&titl e_li=&exclude=194,301'.$exclude);
    wp_page_menu('sort_column=menu_order&depth=1&title _li=&exclude='.$exclude);
    ?>
    </ul></div>

    All of the specified links don't show up in the menu(above the journal). I'm not sure what to do. Here's the "<a href="journalbythesea.com">site</a>

    Really need some help....thanks
    Last edited by graphics; 02-04-2010 at 01:37 PM.

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,048
    your function call for listing categories has include spelled as "inc lude" I don't know for sure if that is right or wrong, but I'm guessing it is wrong.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Registered
    Join Date
    Jun 2008
    Posts
    13

    Unhappy Space isn't in the code

    Thanks for your reply, Chris. The space that ocured in the word include
    (inc lude) doesn't appear in the real code...must have happened when I cut and pasted it into the message box. "<div id="menu"><ul>".

    That's the piece of code that's been irritating me.

    graphics

Similar Threads

  1. Review: Template Monster Affiliate Program
    By Chris in forum Affiliate Networks and Affiliate Programs
    Replies: 8
    Last Post: 06-07-2011, 11:39 PM
  2. An idea regarding external links...
    By Mr. Pink in forum HTML, CSS, Layout, and Design
    Replies: 2
    Last Post: 08-18-2009, 07:47 AM
  3. Will adding links here help or not?
    By MissMandy in forum Search Engine Optimization
    Replies: 9
    Last Post: 07-29-2009, 01:14 AM
  4. sandbox proof based on my definition
    By Kyle in forum Search Engine Optimization
    Replies: 43
    Last Post: 04-16-2007, 05:44 AM
  5. theories on exchanging links and pagerank
    By Kyle in forum Search Engine Optimization
    Replies: 9
    Last Post: 04-27-2004, 10:58 AM

Bookmarks

Posting Permissions

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