__("Troubleshooting", "superb-blocks"),
"description" => __("Experiencing technical difficulties with Superb Addons? We recommend running the troubleshooting process to scan for and identify common issues.", "superb-blocks"),
"image" => "asset-medium-troubleshooting.jpg",
"connected_bottom" => true,
"class" => 'superbaddons-admindashboard-troubleshooting-image-box-large'
)
);
?>
AddResultBox(
"error",
"color-warning-octagon.svg",
__('Troubleshooting failed', "superb-blocks"),
array(
__('The troubleshooting process was able to identify errors, but was unable to resolve them.', "superb-blocks"),
__('If the errors can not be resolved manually, please contact our support team for further assistance.', "superb-blocks")
)
);
$this->AddResultBox(
"network",
"color-warning-octagon.svg",
__('Network error', "superb-blocks"),
array(
__('Your current WordPress and/or webserver configuration is causing issues with the WordPress REST API.', "superb-blocks"),
"",
__('This issue can be caused by CORS restrictions on your website.', "superb-blocks"),
"",
__('This issue can also be caused by a misconfigured server, or a security plugin blocking the REST API. You can check if REST API is running correctly on your website by heading to "Tools -> Site Health" from the WordPress dashboard.', "superb-blocks"),
"",
__('If the issue can not be resolved manually, please contact our support team or your hosting provider for further assistance.', "superb-blocks")
)
);
$this->AddResultBox(
"success",
"checkmark.svg",
__('No issues found', "superb-blocks"),
array(
__('All troubleshooting steps completed succesfully and no issues were found.', "superb-blocks"),
__('If you\'re still experiencing issues, please contact our support team for further assistance.', "superb-blocks")
)
);
$this->AddResultBox(
"resolved",
"checkmark.svg",
__('Issues resolved', "superb-blocks"),
array(
__('All found issues have been successfully resolved in the troubleshooting process.', "superb-blocks"),
__('If you\'re still experiencing issues, please contact our support team for further assistance.', "superb-blocks")
)
);
?>
"superbaddons-tour-gutenberg-patterns",
"icon" => "purple-subtract-square.svg",
"title" => __("Gutenberg Patterns", "superb-blocks"),
"description" => __("Let's show you where and how to use our library of Gutenberg patterns!", "superb-blocks"),
"cta" => __("Start Tutorial", "superb-blocks"),
"link" => esc_url(
add_query_arg(
array(
TourController::TOUR_GUTENBERG => TourController::GUTENBERG_TOUR_PATTERNS,
TourController::TOUR_NONCE_PARAM => wp_create_nonce(TourController::TOUR_NONCE_ACTION)
),
admin_url('post-new.php')
)
),
"classes" => 'superbaddons-start-tutorial-link-gutenberg'
)
);
new LinkBox(
array(
"id" => "superbaddons-tour-gutenberg-blocks",
"icon" => "purple-cube.svg",
"title" => __("Gutenberg Blocks", "superb-blocks"),
"description" => __("How do you insert the included blocks? This tutorial will show you.", "superb-blocks"),
"cta" => __("Start Tutorial", "superb-blocks"),
"link" => esc_url(
add_query_arg(
array(
TourController::TOUR_GUTENBERG => TourController::GUTENBERG_TOUR_BLOCKS,
TourController::TOUR_NONCE_PARAM => wp_create_nonce(TourController::TOUR_NONCE_ACTION)
),
admin_url('post-new.php')
)
),
"classes" => 'superbaddons-start-tutorial-link-gutenberg'
)
);
if (ElementorController::is_compatible()) {
new LinkBox(
array(
"id" => "superbaddons-tour-elementor",
"icon" => "logo-elementor.svg",
"title" => __("Elementor Addons", "superb-blocks"),
"description" => __("Love using Elementor? Start the tutorial and see how you can use our Elementor addons.", "superb-blocks"),
"cta" => __("Start Tutorial", "superb-blocks"),
"link" => esc_url('#' . TourController::TOUR_ELEMENTOR),
"classes" => 'superbaddons-start-tutorial-link-elementor superbaddons-flex-basis-100'
)
);
}
?>
"purple-list-bullets.svg",
"title" => __("All tutorials", "superb-blocks"),
"description" => __("We have a library of step by step tutorials which make it easy for you to create the best possible website.", "superb-blocks"),
"cta" => __("View all tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/")),
)
);
new LinkBox(
array(
"icon" => "graduation-cap-duotone.svg",
"title" => __("Installation", "superb-blocks"),
"description" => __("Get help with the installation process, how to find your license key, how to import demo content, and more.", "superb-blocks"),
"cta" => __("View tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/category/installation-process/")),
)
);
new LinkBox(
array(
"icon" => "cube-duotone.svg",
"title" => __("Block Themes", "superb-blocks"),
"description" => __("Discover how to utilize the WordPress site editor for personalizing your website, including templates, logo, and navigation.", "superb-blocks"),
"cta" => __("View tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/category/block-themes/")),
)
);
new LinkBox(
array(
"icon" => "fse_icon_pagebuilder_large.svg",
"title" => __("Classic Themes", "superb-blocks"),
"description" => __("Get a better looking site by learning how to design it properly. Learn how to change colors, fonts, header image and a lot more.", "superb-blocks"),
"cta" => __("View tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/category/classic-themes/")),
)
);
new LinkBox(
array(
"icon" => "plus-square-duotone.svg",
"title" => __("Superb Addons", "superb-blocks"),
"description" => __("Do you need help with Superb Addons? We've compiled responses to address the most frequently asked questions.", "superb-blocks"),
"cta" => __("View tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/category/superb-addons/")),
)
);
new LinkBox(
array(
"icon" => "arrows-left-right-duotone.svg",
"title" => __("Miscellaneous", "superb-blocks"),
"description" => __("Learn how to create a child theme, install WooCommerce, and how to optimize your site through a SEO plugin.", "superb-blocks"),
"cta" => __("View tutorials", "superb-blocks"),
"link" => AdminLinkUtil::GetLink(AdminLinkSource::DEFAULT, array("url" => "https://superbthemes.com/documentation/category/miscellaneous/")),
)
);
?>