SpotFix Widget is a WordPress widget that allows you to create and manage tasks directly from your website. The widget integrates with your theme and automatically uses the current theme path to load the required resources.
Copy the spotfix
folder to the root of your WordPress site
Make sure the following code is added to the functions.php
file of your theme to enqueue the scripts and styles:
add_action( 'wp_enqueue_scripts', 'connecting_spotfix' );
function connecting_spotfix(){
wp_enqueue_style( 'spotfix-style', '/spotfix/styles/doboard-widget.css');
wp_enqueue_script(
'spotfix-script',
'/spotfix/js/doboard-widget-bundle.min.js',
array(),
'1.3.0',
true
);
wp_localize_script('spotfix-script', 'themeData', array(
'themeUrl' => get_template_directory_uri(),
));
}
The widget is automatically displayed on the page and allows you to create tasks. To modify the widget's behavior, use the methods of the CleanTalkWidgetDoboard class.
WordPress: 5.0 or higher. WordPress Theme: Must support custom script and style enqueuing.
If you have any questions or issues, contact the developer or create an issue in the project repository.