anthonynoel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: child_of gets all subpagesI believe our posts crossed.. thank you, I’ll check that out.
A.
Forum: Fixing WordPress
In reply to: child_of gets all subpages‘.$page->ID.’ instead of $post seems to do the same thing.
Forum: Fixing WordPress
In reply to: child_of gets all subpagesUnless, of course, there’s a better way to call a page ID outside of the loop?
Forum: Fixing WordPress
In reply to: child_of gets all subpagesOkay. I think I need to understand the difference between posts and pages better. Until then, I will just hardcode this since it is only a few pages at the moment.
Thanks
AnthonyForum: Fixing WordPress
In reply to: child_of gets all subpagesYes. At least I think so. It’s not in sidebars, the header or posts.
It’s on a static page (indicated by*), under this structure:
Home
Services
Portfolio
Non-fiction books
––––Series Title 1*
––––––––Title 1†
––––––––Title 2†
––––––––Title 3†
––––Series Title 2*
––––––––Title 1†
––––––––Title 2†
Educational books
––––Series Title 1*
––––––––Title 1†
––––––––Title 2†
About
ImprintWhen I use $Post->ID to identify the page as the parent page of the children, it retrieves all grandchild pages (indicated by †) rather than just the direct descendants of that page.