Support » Fixing WordPress » Sidebar text headers

  • johnt105

    (@johnt105)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • johnt105

    (@johnt105)

    bump!
    Any ideas?

    Samuel B

    (@samboll)

    sidebar.php

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

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

    johnt105

    (@johnt105)

    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) { ?>

  • <?php echo $link_cat-> cat_id;?>”><h4><?php echo $link_cat->cat_name; ?></h4>
      <?php wp_get_links($link_cat->cat_id); ?>
johnt105

(@johnt105)

bump

billh

(@billh)

Take out the partial line:

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

That should fix your problem.

johnt105

(@johnt105)

You are a saint – cheers.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sidebar text headers’ is closed to new replies.