Support » Fixing WordPress » Sidebar text headers

Viewing 6 replies - 1 through 6 (of 6 total)
  • bump!
    Any ideas?

    sidebar.php

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

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

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

bump

Take out the partial line:

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

That should fix your problem.

You are a saint – cheers.

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