Create Multiple Pages with One Post
Hi,
I'm working on a website, and I have hit a snag in development. I'm using Ata 3.7.9. Basically what I'm trying to accomplish is already created in the old website that I am revamping. You can find the link here: http://www.q1productions.com/RxPRand.../#.UO988OTO1v0 What I need to know how to do is put all of the conference data into one post, with only the main content visible, and make each piece of data navigatable through buttons on the side bar, which will dynamically create new pages from the original post. I have custom fields installed, but I just installed it, and I've yet to master that plug in. Any help will be appreciated. |
Quote:
|
To make it easier for the customer.
|
why not create multiple pages
|
Okay, I'll ask it another way. If I create a post with 5 Custom Fields, and I want to access the custom fields with buttons in a side bar like I was using the <!--nextpage--> tag, how would I go about this?
|
I just need a bone thrown to me. I know how to display a custom field in a post, I just don't know how to create a link that creates a page based on that specific custom field.
|
I have no idea how you do this. I would have to do a bunch of testing...no...actually I would create multiple pages that the sidebar links to.
you could build a custom menu with the link to the part of the post you want, but I think it would be a mess to maintain even for someone who knows what they are doing. |
Alrighty, I'm getting close. Had to create a custom post type with the custom fields. Found a website that walks you through it pretty good, but it has you making code changes to the single.php file, and Ata doesn't have it.
It's asking to change this code in the single.php file: Code:
<?php get_template_part( 'content', 'single' ); ?> Code:
<?php if (!$current_fp) { http://www.placementedge.com/blog/cr...ost-sub-pages/ |
You can create a single.php - just make a copy of index.php and then put your code in. But you will have to make sure to document it and keep a backup cause next time someone does an automatic update, the file will be deleted....
|
What code in the index.php file would be comparable to this bit of code?
Code:
<?php get_template_part( 'content', 'single' ); ?> |
I took the single.php file from the twentyten theme. Thats working so far.
|
All times are GMT -6. The time now is 04:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.