[Pro Sites] Pro Sites Automatically Fill in Site Content

When a new customer registers for a new site on my network using Pro Sites, I would like to pre-fill certain content areas on their new site given the information they provide during registration.

  • Matt
    • Site Builder, Child of Zeus

    In this example, a new user just signed up for a new site in my network and their site was cloned off of the specified template using Divi as the selected theme. What's the best way to automatically fill in some of content on their new site making it easier for the new user to get started?

    Example: In the Footer (see attached), I would like to pre-fill the Site Title and Admin Email that was provided during registration instead of them manually having to change that after the site is created.

    Note: the New Blog Template being cloned is using the Divi theme.

  • James Morris
    • WordPress Enthusiast

    Hello Matt

    I hope you are well today.

    This isn't that bad really since you want to display the same information for all new sites created. What you will want to do is make sure you're using the Divi Child theme, then use the steps in the following guide to edit the footer.php file. But, instead of using static values, you'll want to use the native WordPress get_bloginfo() function to output the site title and the admin email. All of which is fairly well documented in following links.

    https://www.diviguide.com/guide-to-divis-bottom-bar/
    https://developer.wordpress.org/reference/functions/get_bloginfo/

    Let us know if you have any further questions. We'll be happy to help! :slight_smile:

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.