[Resolved] Can I use this to instead put the contents of another PAGE on my page?
If I understand correctly (read it somewhere), PAGES are simply posts with a PostType of “page” rather than the usual post type?
What I want to do is to have individual “pages” with “chapters” of a sort on each one and to then have a separate “page” that’s kind of a “show all” page where everything’s on a single page. If that makes sense.
So, basically I’d have a main “page” in my menu system with the title of the “guide” I’m writing. If you click that, it would just have hierarchical linked list of the chapters / sections. If you click on each chapter you get the whole chapter. Then there’d be a separate link to “read the whole thing on a single page.” That single page, would just “pull in” all the other pages’ content via shortcodes.
I think that if I can get this working right, it could be pretty cool! 🙂
I’m just wondering if it’s possible…
In fact, as I’m thinking about it, I might even turn the sub-sections into their own “snippet” pages, then construction the “chapters” out of some “pulled in” combination of sub-section pages, and then make the “single page” view by pulling in the “Chapters” that themselves pull in the “sub-sections.” That way, I could have page slugs for all the “pieces” and thus URLs that kind of make sense hierarchically, too.
So, I guess I want to know if/how I can use this plugin to do all that.
I’m thinking the “single page” view would have something like:
[ic_add_posts post_type=’page’ ids=’1,2,3,4′]
and then for the “Chapters”:
[ic_add_posts post_type=’page’ ids=’5,6,7,8′]
Section 1.1 (id=5 above?):
[ic_add_posts post_type=’page’ ids=’21,22,23′] (calls sub-sections 1.1.1, 1.1.2, 1.1.3 pages?)
[ic_add_posts post_type=’page’ ids=’9,10,11,12′]
[ic_add_posts post_type=’page’ ids=’13,14,15,16′]
[ic_add_posts post_type=’page’ ids=’17,18,19,20′]
Does that sound about right? Would something like that work?
How would I find out the Page IDs? Is there an easy way? Is it listed somewhere by default, or would I have to go poking around under the hood to find that out?
If this works the way I think it does, this would be REALLY easy for me to put together, assuming I can find the Page IDs & assuming the PostType for pages is something like “page” as others have intimated?
Hope that all made sense?
Thx in advance,
- The topic ‘[Resolved] Can I use this to instead put the contents of another PAGE on my page?’ is closed to new replies.