Title: Sidebar text headers
Last modified: August 18, 2016

---

# Sidebar text headers

 *  [johnt105](https://wordpress.org/support/users/johnt105/)
 * (@johnt105)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/)
 * 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](http://www.nanoreef.co.uk)
 * Cheers

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

 *  Thread Starter [johnt105](https://wordpress.org/support/users/johnt105/)
 * (@johnt105)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-358790)
 * bump!
    Any ideas?
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-358794)
 * sidebar.php
 * `<li>1"><h4>Salty Links</h4>`
 * `<li>2"><h4>Photo Gallery</h4>`
 *  Thread Starter [johnt105](https://wordpress.org/support/users/johnt105/)
 * (@johnt105)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-358823)
 * 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); ?>
 *  Thread Starter [johnt105](https://wordpress.org/support/users/johnt105/)
 * (@johnt105)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-358895)
 * bump
 *  [billh](https://wordpress.org/support/users/billh/)
 * (@billh)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-359039)
 * Take out the partial line:
 * `<?php echo $link_cat-> cat_id;?>">`
 * That should fix your problem.
 *  Thread Starter [johnt105](https://wordpress.org/support/users/johnt105/)
 * (@johnt105)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-359077)
 * You are a saint – cheers.

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

The topic ‘Sidebar text headers’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [johnt105](https://wordpress.org/support/users/johnt105/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-text-headers/#post-359077)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
