WordPress.org

Ready to get started?Download WordPress

Forums

Fold category list plugin help (9 posts)

  1. 4thchicken
    Member
    Posted 8 years ago #

    I've installed and activated the plugin and according to the instructions I am supposed to replace <?php wp_list_cats ($args); ?> with <?php wswwpx_fold_category_list ($args); ?>

    However I cant seem to find <?php wp_list_cats ($args); ?>

    The only thing remotely close in my sidebar.php file is <?php wp_list_pages('sort_column=menu_order&title_li=&child_of='. $parent_id); ?>
    I've tried replacing that with a wswwpx_fold_ header but it doesnt seem to change anything.

    What am I doing wrong? - any help greatly appreciated

    my sidebar contents show

    [doesn't show! - moderated: long code removed.
    Use http://wordpress.pastebin.ca for posting long code]

  2. 4thchicken
    Member
    Posted 8 years ago #

    edit: the sidebar contents are as follows
    http://wordpress.pastebin.ca/256350

  3. moshu
    Member
    Posted 8 years ago #

    In line 33 replace the original code
    wp_list_pages(....ALL THAT STUFF IS THE "ARGS...)

    args = arguments
    See the Codex: http://codex.wordpress.org/Template_Tags/wp_list_pages

  4. 4thchicken
    Member
    Posted 8 years ago #

    thats what I thought to do initially -> replacing the line

    <?php wp_list_pages('sort_column=menu_order&title_li=&child_of='. $parent_id); ?>

    with

    <?php wswwpx_fold_category_list ('sort_column=menu_order&title_li=&child_of='. $parent_id); ?>

    I presumed that the args need to be maintained so I kept that section the same? <- edit: should have added it didnt work with those changes. The categories still appear in list form (ie the sub categories dont collapse/expand under their parent category)

  5. moshu
    Member
    Posted 8 years ago #

    I don't know. I don't use the plugin. There must be some instructions as to what arguments should go there.
    Definitely, not what you put there, since those are some k2 specific things. (And I don't know how k2 works, either.)

  6. 4thchicken
    Member
    Posted 8 years ago #

    ok - I might try to look for another solution whilst I wait to see if anyone else can help. Thanks for your suggestions anyway :)

  7. globetrotter
    Member
    Posted 7 years ago #

    i've just installed this plugin as well, and when I activate it, all my categories just disappear. I can't figure out what's going on. Any help would be much appreciated.. :)

    http://globetrotter.us is where my categories are..

  8. roblgs
    Member
    Posted 7 years ago #

    Hi,

    From the plugin's documentation page:

    It is recommended however that at least the “hide_empty=0” option be set since without this any categories that lie below an empty category will not be shown

    Let me know if this fixes problems of categories disappearing... Note also that there is an email address in the header of the plugin that will usually result in faster support than issues posted in the support forum...

    Best regards

    Rob

  9. globetrotter
    Member
    Posted 7 years ago #

    I set the option to 0 and nothing changed. I also set the option to 2, and nothing changed. I don't understand what would be the problem? I'm not well versed in WP, so still learning things.. I moved to this after years of moveable type stopped working well for me..

    Thanks!

    Benjamin
    http://globetrotter.us

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.