Sidebar Category display (2 posts)

  1. revenantkioku
    Posted 8 years ago #

    This should be simple, but maybe I'm just not searching for the right thing?

    I want to do this:

    <?php wp_list_categories('orderby=id&show_count=1
    &use_desc_for_title=0&child_of=28'); ?>

    And have it in my sidebar. Now, the categories widget lacks any decent functionality (yet you can have nine of them?) and searching has come up with nothing that I can discern as useful.

    Is there any easy way to do this?

    Thanks in advance

  2. MichaelH
    Posted 8 years ago #

    Assuming you still want to use Widgets in your theme, get Otto's execphp widget then use the code you described above in a 'php widget'.

    Also please don't forget to Donate link to help support our plugin authors.

Topic Closed

This topic has been closed to new replies.

About this Topic