• Hello.

    How i can use wp_list_categories() function with custom style.

    In example. I can use get_links() function with custom style like below:

    <?php get_links('-1', '<li><span>', '</span></li>', '', '', 'rand', '', '', '7'); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • If my memory serves me right, list items of this generated list have the class “cat-item”. So you can style it in your style.css.
    For the rest, read the codex.

    Thread Starter Fatih Turan

    (@fatihturan)

    Dude i just want to insert <span></span> tag in to <li></li> tag. Like above example. If i rewrite example:

    <li><span><a></a></span></li>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using wp_list_categories() function with custom style’ is closed to new replies.