Site logo

Archived topic

Child pages Hook

15 replies · Started by Matthew on July 12, 2021

Viewing posts 16–16 of 16

So you’re saying if I wanted to still use the hook, I can take the code into the hook as below:

Yes, that's it. And make sure this is removed from the template file because having it there and then hooking it in will display a duplicate list. :D

Tip: If you're completely comfortable w/ just adding it on the template, you can skip doing the hooks. At this point, it's a matter of preference since you know how to use both anyway. ;)

This archived topic is closed to new replies.