WordPress.org

Ready to get started?Download WordPress

Forums

How do I make hundreds of ALMOST duplicate pages easily? (5 posts)

  1. mike523
    Member
    Posted 1 year ago #

    Ok so I've got a website where I'm going to be building 300-400 pages that are all identical EXCEPT for a couple of pieces of text on each page that make the page exclusive for a particular city. For instance one page will start off saying something like "Welcome to Atlanta..." and have 5-6 other instances in the text that mention the city. This will be different for each page/city ("Welcome to Birmingham", "Welcome to Madison" etc.) but all the rest of the text will be exactly the same. Obviously with the large number of pages I need to create, I am looking for an easy way to do it that doesn't require me to do each one manually. Is there a solution for this?

    Thanks in advance!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which theme are you using?

  3. mike523
    Member
    Posted 1 year ago #

    I am using U-Design

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    That theme isn't supported on here.
    Try your theme's vendors for support.

  5. vtxyzzy
    Member
    Posted 1 year ago #

    Regardless of the theme, I would suggest using shortcodes for the 'boilerplate' sections of the text.

    Your text for an Atlanta post could look something like this:

    Welcome to Atlanta,
    [bp_section_1]
    A line about Atlanta.
    [bp_section 2]
    A second line about Atlanta.
    Another line about Atlanta.

    Each shortcode would insert a section of the boilerplate.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.