Forums

wp_list_cats problem with links (10 posts)

  1. Squeebee
    Member
    Posted 8 years ago #

    Hi All;
    I've been trying to build an archive index (see http://www.openwin.org/mike/archive.php)
    So far so good, the monthly list all works, and the category list looks right, but all links are broken.
    That all look like this:
    http://www.openwin.org/mike/index.php/archives/category//
    As you can see, the name of the category itself is missing.
    If you strip all the HTML and just look at the PHP tags, you have this:


    <?php require('wordpress/wp-config.php');?>
    <?php wp_get_archives('type=monthly&show_post_count=true&format=other&after=<br>'); ?>
    <?php wp_list_cats('all&optioncount=1&list=0'); ?>


    Any ideas?

  2. Squeebee
    Member
    Posted 8 years ago #

    Oh and I am using a 4 day old nightly build.

  3. moshu
    Member
    Posted 8 years ago #

  4. Anonymous
    Unregistered
    Posted 8 years ago #

    up
    i have the same issue.

  5. Beel
    Member
    Posted 8 years ago #

    Anonymous, not a helpful post if you expect some help. IF you bother to check, the issue seems to be resolved for Squeebee

  6. gerryliao
    Member
    Posted 8 years ago #

    Me too have the same problem.
    version of WP: 1.2.1
    The link was normal before I change my wp to fixed links as:
    /%year%/%month%/%day%/%post_no%/
    After I made this change all the links directed to http://xxx.xxx/category// instead of http://xxx.xxx/category/1.
    Beel, I read through this and other relevant threads, and I still can not figure out the problem.
    Can you give me a hint?
    Thanks

  7. gerryliao
    Member
    Posted 8 years ago #

    sorry, the tag was removed from my blog.

  8. Beel
    Member
    Posted 8 years ago #

    :) never got a chance to see your question and you solved it already.

  9. gerryliao
    Member
    Posted 8 years ago #

    Beel, if it is not too bother, I still like to know how to fix the problem, although I killed the tag.
    Maybe you have a clue?

  10. Beel
    Member
    Posted 8 years ago #

    I must have missed my vitamins this morning, I thought you fixed it by replacing a removed tag - not removing the function itself. It is getting late, but post a link to your site (and maybe put the function back in) and I will be sure and take a look at it when I revisit here (or someone else will take a look, I'm sure).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.