• Resolved dczepiel

    (@dczepiel)


    I am using Modularity Lite theme on https://dariuszczepiel.pl/blog/?lang=en site.

    I wanted to have 2 dropdowns with links – In someone else’s eyes (Links category 3) and recommended sites (Links category 8)

    <li class="drop"><span>In someone else's eye</span>
            <ul>
            	<?php wp_list_bookmarks('category=3&orderby=name&show_images=0&show_description=0&show_name=0&depth=-1&title_before=&title_after='); ?>
    <li class="drop"><span>Recommended sites</span>
            <ul>
            	<?php wp_list_bookmarks('category=8&depth=-1&title_li='); ?>
             </ul>

    What I want to achieve is that the name ‘recommended sites’ or ‘in someone else’s eyes’ is not duplicated and shown again right below the dropdown. Unfortunately I read in codex that title_li=0 does not work if you have categorized turned on – and I do.

    Is there any way I can hide the title if I want to keep 2 separate dropdowns for 2 link categories ?

    Please help

Viewing 1 replies (of 1 total)
  • Thread Starter dczepiel

    (@dczepiel)

    solved

    <?php wp_list_bookmarks('categorize=0&category=3&orderby=name&depth=-1&title_li='); ?>

    categorize=0 was the missing part

Viewing 1 replies (of 1 total)
  • The topic ‘Codex question – wp_list_bookmarks and title_li’ is closed to new replies.