WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar text headers (7 posts)

  1. johnt105
    Member
    Posted 8 years ago #

    Fixed the page breaks on headers in my sidebar, they were broken in IE, but now I get 1"> & 2"> text above my link catagories, 1 & 2 respectivley.

    Can't work out which code I have broken.

    http://www.nanoreef.co.uk

    Cheers

  2. johnt105
    Member
    Posted 8 years ago #

    bump!
    Any ideas?

  3. Samuel B
    moderator
    Posted 8 years ago #

    sidebar.php

    <li>1"><h4>Salty Links</h4>

    <li>2"><h4>Photo Gallery</h4>

  4. johnt105
    Member
    Posted 8 years ago #

    Here is the php script used to generate my links, why is it adding the 1"> ????

    <?php } ?>

    <?php
    $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
    foreach ($link_cats as $link_cat) { ?>

  5. <?php echo $link_cat-> cat_id;?>"><h4><?php echo $link_cat->cat_name; ?></h4>
      <?php wp_get_links($link_cat->cat_id); ?>
  • johnt105
    Member
    Posted 8 years ago #

    bump

  • billh
    Member
    Posted 8 years ago #

    Take out the partial line:

    <?php echo $link_cat-> cat_id;?>">

    That should fix your problem.

  • johnt105
    Member
    Posted 8 years ago #

    You are a saint - cheers.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.