Forums

sidebar.php keeps adding li /li (3 posts)

  1. kshack
    Member
    Posted 3 years ago #

    No matter what I do it seems sidebar.php keeps adding li and /li under Categorys , archives and meta.. Is there a way to get rid of that?

    It seems this code in sidebar.php somehow adds it.
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>

  2. marzar00
    Member
    Posted 3 years ago #

    You could always try a little CSS.

    For example set the list style to none and the pading to 0. Thats what I use.

    Marzar

  3. kshack
    Member
    Posted 3 years ago #

    I found out a way without css and just editing the sidebar.php
    changed
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
    to
    <?php list_cats(0, '', 'name', 'asc', '', 0, 0, 1, 1, 1, 1, 0,'','','','','') ?>

    also changed
    <?php wp_get_archives('type=monthly'); ?>
    to
    <?php wp_get_archives('type=monthly&format=custom'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.