WP Page Alias
- Started
- Last post
- 7 Responses
- dbloc0
iframe?
- ESKEMA0
Imagine this structure:
— Parent 1
—— Child 1
—— Child 2
—— Child 3
— Parent 2
—— Child 4
—— Child 2
—— Child 5Child 2 appears below both Parents.
- vwsung18t0
Create a page template that pulls content from the first page and then create a new subpage under Parent 2 using that template?
- but that will lead to a new template for every alias. And how do you pull content from X page?ESKEMA
- You can add a custom field where you can enter the page id that the page template loads.vwsung18t
- if empty, load regular page content. http://css-tricks.co…vwsung18t
- hereswhatidid0
Use this plugin:
http://wordpress.org/plugins/pos…
Then create a new page and pull in the content via that shortcode and the post ID.
- ESKEMA0
^^This looks like it might work, but what if the content to be pulled is a bunch of custom fields?
- hereswhatidid0
If you're pulling in custom fields and such beyond just what is in a normal post there will be no easy solution. If that is the case you'd be better off writing your own shortcode to pull in the necessary content.
- mg330
These links might help. Let us know where you end up. I use the advanced custom fields plugin a lot and I feel like there's a way to create a custom field that contains "shared" content that you can manage and give a specific field name to. Not sure about the shortcode portion, but I bet there's info out there somewhere.
http://wordpress.stackexchange.c…