WordPress.org

Ready to get started?Download WordPress

Forums

Duplicate existing pages? (5 posts)

  1. syrupcore
    Member
    Posted 5 years ago #

    Hi. Building out about 40 pages and was hoping to based pages 2-40 on page 1, which is already built. I have a bunch of things set on this page with custom fields and the like and would like to not re-enter those each time.

    I'm not afraid of the database but I thinking there's gotta be a more straightforward way.

    Is there?

    Thanks for reading,
    Will

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    Clarification required:

    Building out about 40 pages and was hoping to based pages 2-40 on page 1, which is already built.

    How did you build page 1? a) through page template and/or b) through WP Write > Page and adding custom field item which then appeared in your site per code?

    I have a bunch of things set on this page with custom fields and the like and would like to not re-enter those each time.

    What are "bunch of things"? Do you mean images and/or text? The reason they are custom fields is because each field is customized per post/page. If field is the same for all posts/pages then you should already include such code in template.

    I'm not afraid of the database but I thinking there's gotta be a more straightforward way.

    You do not have to touch the database to use custom fields. Give a sample of what you want done, flying blind here :-)

  3. syrupcore
    Member
    Posted 5 years ago #

    Hey, thanks mercime. it's late here, sorry for lack of description.

    Page one was built through WP Write > Page

    "Bunch of things" is a highly technical term for: certain bits of html in the page body (in between free form content), some repeating custom field entries (for the entire set and for groups of pages within the 40), and a setting added via plugin I'd like checked (that defaults to unchecked). Bunch of things. :)

    Certainly some of the proverbial things could be achieved at the template level but most of it I'd like the end users to be able to change without touching template code.

    Before you ask, "Groups within the 40" = eg 40 products, 10 of which are shoes, 20 are hats, 5 are ponchos and 5 are pogo sticks. In this scenario, the value for the custom fields "shippingcost", "onsale", "instock", "ugly-and-useless" may all be the same for each page.

    Thanks,
    Will

  4. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    ...but most of it I'd like the end users to be able to change without touching template code.

    So do you mean that the rest of 40 pages will be filled in by end users or that they will be adding pages themselves?

    Some of the proverbial things could be achieved at the template level ...

    - I have to go back to coding custom fields tags in template so that when your users add such to Write > Page, the image, text or whatever will appear in the appropriate places. So some users who can be classified as newbies are able to add info on their own.
    - If that's not your thing, you could always create a page with a checklist of things your users must do/add/edit in each "product" item, like sequence html tags you would add, etc.
    Good luck.

  5. syrupcore
    Member
    Posted 5 years ago #

    Mercime, I appreciate the time. Yes, users will be populating the bulk of the pages and they will need to add new ones in the future. The list is what I'm planning on doing but was hoping to avoid as I don't trust humans. :)

    Thanks again.

    Will

Topic Closed

This topic has been closed to new replies.

About this Topic