Home Forums WoodMart support forum Multisite automatic demo import , replicate content of the main site.

Multisite automatic demo import , replicate content of the main site.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #161613

    manavjain
    Participant

    Hello Guys,

    Thanks for all the support.

    I am creating subsites through multisite.
    All I want is, either I can replicate all of the woodmart demo as per the main site or the demo gets installed automatically when a new site is being created.

    Also could you please let me know that how can I activate the woodmart child theme automatically when a new subsite is being created.

    Thanks and Best regards,
    Manav

    #161634

    Hello,

    There is no option to install and activate automatically, the default WordPress does not provide such options as WordPress does not know which site needs child theme and which one does not and which demo to upload. You will have to all manually as soon as you create a new site.

    Best Regards

    #161679

    manavjain
    Participant

    Hello,

    Thanks for the reply.
    I just got a solution for this

    function default_theme_wpse_193024() {
    switch_theme(‘twentythirteen’);
    }
    add_action(‘wpmu_new_blog’,’default_theme_wpse_193024′);

    Mark, if this is right.
    Also what would be the child theme alias that will be replaced by twentythirteen ?

    Thanks.

    #161746

    Hello,

    We have not tested the code and do not know how it should work, such customization is not covered by our support.

    Best Regards

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)