wp_list_pages problem
-
Hello! So I’m using the code:
<?php $id = get_the_ID(); wp_list_pages("title_li=&depth=1&child_of=$id"); ?>
To show a list of child pages of the current parent.
The problem:
With “hide content not av. in other languages” ticked, the list will not show. It works fine when I disable the option in the settings.So I wonder what seems to be the problem. Any ideas?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘wp_list_pages problem’ is closed to new replies.