Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site

In my new multi-site project I need to show the theme option before user sign up I have shown the screen short of theme by using the below code.

$themes = wp_get_themes();
foreach( $themes as $theme ){
echo ‘Theme Name: ‘.$theme -> name;
echo ‘get_screenshot()).'” /> ‘;
}

Now what I need to do is to show the check box once user will select the check box or radio button so after the select of radio button the new site is generated by the user will activate the same theme that he select.

Also how I can show the only selected theme not all theme. Also with that user can preview all pages of theme before sign up. If some one now this please reply. if explain with the code much appreciated.
Thanks

Read more here:: Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site

Leave a Reply

Your email address will not be published. Required fields are marked *