[resolved] wp_list_pages() behaving randomly (7 posts)

  1. kove
    Posted 7 years ago #

    hi all,
    I have this quite strange bug.
    If I insert in a page the <?php wp_list_pages(); ?> function I dont get any result, BUT if I insert a random commented piece of code before it, it works..!

    for example, with this I can see the listing:
    <!-- <a href="www.esa.aa">aa</a> -->
    <?php wp_list_pages(); ?>

    But with a simple
    <?php wp_list_pages(); ?>
    I cant see anything

    this problem for what I know happened after installing this plugin:
    made to hide subcategories in the menu.

    The strange thing is if I put phpinfo() in the same page it doesnt work or show me the output of the old wp_list_pages()!

    how can I make things work normally??
    Thanks for any answer...

  2. gmurphey
    Posted 7 years ago #


    I'm the author of the plugin you're having trouble with. I was hoping you could post the version of WordPress and theme you're using. I want to see if I can duplicate the bug, and hopefully get this fixed for you.

    Garrett Murphey

  3. kove
    Posted 7 years ago #

    hi, nice to meet you :)
    wordpress version is 2.5.1
    page link manager version is 0.3
    Hope can help

  4. kove
    Posted 7 years ago #

    sorry I forgot the template.
    the template is the default wordpress one
    Let me know any news

  5. kove
    Posted 7 years ago #

    hmmm... any news?
    Any tips on how to make things work as before? at the moment if I try to uninstall the plugin wordpress keep behaving quiete randomly...

  6. kove
    Posted 7 years ago #

    update: just reinstalled wordpress and xampp from scratch without the plugin and this bug STILL HAPPENDS.

    So, is not the plugin but something else.

    wordpress version is 2.6.3 , xampp win 32 1.6.8 ( last ones at the moment)

    this is the code wich generates NO OUTPUT ( html mode):

    test1.1 test1.1 test1.1 test1.1 test1.1
    <?php wp_list_pages(); ?>

    This is the code whic generates a (nearly) correct output:

    <!-- <a href="www.esa.aa">aa</a> -->
    <?php wp_list_pages(); ?>

    I say nearly because the default layout get messed up with the correct output.

    I just disabled ALL my plugins and this still happends. Someone have any tips ? T_T

  7. kove
    Posted 7 years ago #

    ok, the problema was:
    I cant use wp_list_pages() in a page, but must be in a template file!!!

    here is a fine explanation of how to do that:

    problema solved
    thank you anyway

Topic Closed

This topic has been closed to new replies.

About this Topic