get( 'Name' ); if($theme_name =='Canvi'){ wp_redirect(admin_url("themes.php?page=canvi_activation")); // Your admin page URL } } /* * Register smartlib activation function */ add_action('admin_menu', 'canvi_theme_activation_options'); /* * Create the function that build menu */ function canvi_theme_activation_options() { $theme_info = wp_get_theme(); $theme_name = $theme_info->get( 'Name' ); if($theme_name =='Canvi') { add_theme_page(__('Canvi Starter', 'canvi'), __('Canvi Starter', 'canvi'), 'manage_options', 'canvi_activation', 'canvi_activation_display'); } } /* * Create a function that displays the contents of the options page */ function canvi_activation_display() { if (!current_user_can('manage_options')) { wp_die(__('You do not have sufficient permissions to access this page.', 'canvi')); } ?>
| Plugin Name | Why You should install it? |
|---|---|
| Shared Counts | Shared Counts is a WordPress social media share buttons plugin. Sharing buttons increase traffic and engagement by helping readers share your posts and pages to their friends on social media. |
| Getwid - Gutenberg Blocks | Getwid is a collection of 40+ Gutenberg blocks that greatly extends the library of existing core WordPress blocks |
| One Click Demo Import | Import your demo content, widgets and theme settings with one click. |
| Contact Form 7 | Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. |
To make your WordPress website look like the live demo you can use quick demo import panel.