Support » Plugins » Hacks » Apply function in walker to children only

  • gashface


    I have created a walker that displays the featured image of a page and description..

    Is there a way so that the featured image display part only gets applied to children, i.e. Alternatively is it possible to make it so it only works when a featured image is set?

    <li>*doesnt get applied on parent
    <li> *gets applied here</li>
    Walker here:

  • The topic ‘Apply function in walker to children only’ is closed to new replies.