• Hello

    I want to remove the header tag from this and just have it display the list of links, how and what do I remove form this:

    // Display the category name
    echo ‘ <li id=”linkcat-‘ . $cat[‘link_category’] . ‘”><h3>’ . $cat[‘cat_name’] . “</h3>\n\t

      \n”;
      // Call get_links() with all the appropriate params
      get_links($cat[‘link_category’],

    • ‘,”
    • “,”\n”,
      bool_from_yn($cat[‘show_images’]),
      $orderby,
      bool_from_yn($cat[‘show_description’]),
      bool_from_yn($cat[‘show_rating’]),
      $cat[‘list_limit’],
      bool_from_yn($cat[‘show_updated’]));

    // Close the last category
    echo “\n\t
    \n\n”;
    }
    }
    }

    Then I can just create the h3 myself in the sidebar.php file.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Oh, it’s not the HEADER you want to get rid of but the “heading”. Some confusion here. The header is the template that is at the top of your page, often called the “masthead”. <h3> is a heading.

    Okay, this is the part that applies:

    // Display the category name
    echo ' <li id="linkcat-' . $cat['link_category'] . '"><h3>' . $cat['cat_name'] . "</h3>nt
    n";

    Remove that part. Your <h3> heading will be gone.

Viewing 1 replies (of 1 total)

The topic ‘Strip header tag from links.php’ is closed to new replies.