Apply function in walker to children only (1 post)

  1. gashface
    Posted 3 years ago #

    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:


Topic Closed

This topic has been closed to new replies.

About this Topic