• Good morning all,

    OK I have purused this board and thought I found answers to my problems but to no avail.

    My first problem is getting the rss link for individual categories to show up. I can’t do it. All I want to do is create an rss link automatically for a particular category. Do I need to do this manually?

    Secondly I can’t get multiple options to work for the categories. For example I tried to show all with the number of posts:
    <?php wp_list_cats(‘hide_empty=0,optioncount=1’); ?>

    What I really want to do is show all, in alpabetical order, with the number of posts.

    Please excuse me if these questions are trivial. I am just beginning my quest to become better at php.

    I am using the version that is available for download now.

    Many, many thanks in advance.

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • When using a tag that accepts parameters in the query-string style, you must separate each argument with an ampersand (&), not a comma:

    <?php wp_list_cats('hide_empty=0&optioncount=1'); ?>

    To add RSS links to your category list:

    <?php wp_list_cats('hide_empty=0&optioncount=1&feed=rss'); ?>

    Change the feed value to whatever text you want to use for the feed link.

    Thread Starter pokeey

    (@pokeey)

    Kafkaesqui,

    3 words. . .You are awesome.

    I didn’t realize the “&” was used instead.

    Thank you very much. Now I gotta try to replace the hair I pulled out last night. ??

    Chris

    Try this <?php list_cats(0, '', 'name', 'ASC', '/', true, 0, 1); ?>.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I am a moron!’ is closed to new replies.