How to insert a separate page(s) for all subsites

Hello,
I want to create a separate html page which contains 2 levels (the page itself and some child-pages), and insert this page as a Page for all subsites. Could you please tell me
1. How to insert such page (located on the same server as WP) as a Page for all subsites? The page looks like a Page created by each subsite owner. Visiting it, users will be still in a subsite.
2. The html page will be updated frequently by me, and any change on it should be reflected in all subsites.

Thanks for your help!
BR
Y

  • Predrag Dubajic
    • Support

    Hey Yudong,

    Hope you're doing well today :slight_smile:

    If all subsites are using same theme this should be fairly easy.
    In your theme root directory create new .php file, for example my-custom-template.php and make sure it has template name defined at start, like this:

    <?php
    /**
     * Template Name: My Custom Template
     */
    ?>

    Place your HTML code below that and now in each subsite create new page with this template.
    You're done, when making changes to template file it will affect all your subsites.

    Hope this helps :slight_smile:

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.