About CategoryList() – what parameters should be given to display parent childs

  • Ari
    Ari
    Newbie 7 points
    August 26, 2016 at 6:49 am

    Hello,
    I’m struggling to find a way to had the below code (used in the form in the homepage search)

    echo $CORE->CategoryList(array($selcat1,”,0,THEME_TAXONOMY)); ?>

    How should I change the above to show only certain parent ID child(s).
    E.g my top category ID = 584. Now I would like to have only its child ID:585 and its children included to list output and that are then options in the selection input field.

    For clarity my Categories structure is like below:
    Phones (ID:584)
    Apple (ID:585)
    iPhone
    Nokia
    Lumia
    Computers
    Dell
    Tablets
    Samsung

    Thanks in advance,
    Ari from Finland

  • Ari
    Ari
    Newbie 7 points
    August 27, 2016 at 6:04 pm

    Anyone? All tips, clues and info if this is achievable are welcome. Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes