Even if I remove the thumbs=”true” and link_thumbs=”true” depth only seems to be working if list=”true”
Hi @adventureridingnz …
The depth
parameter actually adds the sub-pages as a list, rather than a fully formatted child-page with images, etc.. The reason for this is that it would be very difficult to accommodate lots of sub-pages (and their own sub-pages) while still showing the hierarchy of the pages.
Imagine the following scenario:
- The
cols
parameter is set to 3
- The
depth
parameter is also set to 3
- Each page or child page to be displayed has at least 3 child pages
The first set of pages would be displayed in 3 columns, but adding the next set of child pages to each box effectively produces 9 columns of sub-pages … going down another level gives 27 columns, and so on.
This can get pretty unwieldy, and so the compromise was to show the sub-pages of the child-pages as a list.
This was not a feature that I actually wanted to add, but it was requested by someone as a particular requirement … if I get time i the future, I will look at a better way to do this.
However, I am a bit surprised by your last reply and will test this out for myself.
Hi … I believe that I may have misunderstood the problem.
As promised, I have been testing the plugin to try and reproduce the error – but was failing to do so.
However, when I copied your example from your earlier post … it failed.
I think the problem may be that not all of the quotes in your example are standard double quotes … so the passing of parameters is not working as expected.
I manually replaced the double quotes, and everything worked as expected.
If I am getting this wrong and the quotes thing is just a display thing on this forum, please let me know …
Your code:
[child_pages id=”33714″ thumbs=”true” link_thumbs=”true” link_titles=”true” post_status=”publish” hide_excerpt=”true” hide_more=”true” depth=”2″ skin=”blue”]
My code:
[child_pages id="33714" thumbs="true" link_thumbs="true" link_titles="true" post_status="publish" hide_excerpt="true" hide_more="true" depth="2" skin="blue"]
I haven’t heard back, so I am assuming this issue is now resolved. If you still have problems, please do not hesitate to get in touch.