Support » Plugins » Missing some comas somewhere!?

  • quebecostarica

    (@quebecostarica)


    I just want to get a side block with one specific ategory in it. The codehere is missing something:

    <h4>My Cyber Blog:</h4>
    <div class=”leftsideSection”>

      <?php list_cats(‘2’); ?>

    </div>

    How to get cat “2” (in this example) listed and only that one??

    Thanks

    Roger Pilon,Editor
    http://www.yourcybercafe.info
    CyberCafe World Wide Resources Directory

Viewing 2 replies - 1 through 2 (of 2 total)
  • Beel

    (@beel)

    If you only want one category to show, why bother with a template tag? Just hard code the link and get on with it. The tag is for listing all categories and you can “not list” some by excluding them.

    The instructions might help…
    http://codex.wordpress.org/Template_Tags/list_cats

    lynx

    (@lynx)

    Jip this sounds more effective for me too. Sometimes using template-tags is a bit overhead….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing some comas somewhere!?’ is closed to new replies.