• 4thchicken

    (@4thchicken)


    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 https://wordpress.pastebin.ca for posting long code]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter 4thchicken

    (@4thchicken)

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

    moshu

    (@moshu)

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

    args = arguments
    See the Codex: https://codex.www.ads-software.com/Template_Tags/wp_list_pages

    Thread Starter 4thchicken

    (@4thchicken)

    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)

    moshu

    (@moshu)

    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.)

    Thread Starter 4thchicken

    (@4thchicken)

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

    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.. ??

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

    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

    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
    https://globetrotter.us

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fold category list plugin help’ is closed to new replies.