'; Util::admin_header(); $plugins = Util::importable_plugins(); echo '
'.esc_html__('TOOLS - SiteSEO','siteseo').'

'.esc_html__('Import Settings From Other Plugins','siteseo').'

'.esc_html__('Import posts and terms metadata from the specified source', 'siteseo').'

' . esc_html__('You don\'t need to enable the selected SEO plugin to run the import.', 'siteseo').'

'; foreach($plugins as $plugin =>$name){ self::display_plugins($plugin, $name); } echo '

'.esc_html__('Export plugin settings','siteseo').'

'.esc_html__('Export the plugin settings for this site as a .json file, making it easy to import the configuration into another site.', 'siteseo').'

'.esc_html__('Import plugin settings', 'siteseo').'

'.esc_html__('Import the plugin settings from a .json file. You can obtain this file by exporting the settings from another site using the form above.','siteseo').'

'.esc_html__('Reset All Settings', 'siteseo').'

 

'. /* translators: placeholders are just tag */ wp_kses_post(sprintf(__('%1$s WARNING: %2$s Delete all options related to this plugin in your database.','siteseo'), '', '')).'

'; } static function display_plugins($plugin,$name){ $seo_title = 'SiteSEO'; $plugin_slug = explode('/', $plugin); $plugin = $plugin_slug[0]; echo '

'. /* translators: %s represents the import posts and terms */ sprintf(esc_html__('Import posts and terms (if available) metadata from %s', 'siteseo'), esc_html($name)).'

'. esc_html__('By clicking Migrate, we\'ll import:', 'siteseo').'

  • '. esc_html__('Title tags', 'siteseo') .'
  • '. esc_html__('Meta description', 'siteseo') .'
  • '. esc_html__('Facebook Open Graph tags (title, description and image thumbnail)', 'siteseo') .'
  • '. esc_html__('Twitter tags (title, description and image thumbnail)', 'siteseo') .'
  • '. esc_html__('Meta Robots (noindex, nofollow...)', 'siteseo') .'
  • '. esc_html__('Canonical URL', 'siteseo').'
  • '. esc_html__('Focus / target keywords', 'siteseo') .'
  • '; if('all-in-one-seo-pack' != $plugin){ echo '
  • '. esc_html__('Primary category', 'siteseo') .'
  • '; } if('autodescription' == $plugin || 'all-in-one-seo-pack' == $plugin || 'wp-seopress' == $plugin){ echo '
  • '. esc_html__('Redirect URL', 'siteseo') .'
  • '; } echo '
 

'. /* translators: %s represents the degree of severity */ wp_kses_post(sprintf(__('WARNING: Migration will delete / update all %1$s posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any %2$s data.', 'siteseo'), esc_html($seo_title), esc_html($name))). '

'; } }