Wordpress Plugin
Last updated
Was this helpful?
Last updated
Was this helpful?
The MF Datablocks Wordpress Widget is a plugin which lets you add one (or multiple) Datablocks widgets to your Wordpress site. It enables an easy way to embed various types of Datablocks data from MFN for a particular company, onto different sections of your site.
For example you can add news-lists, stock-charts, subscribe and other widget types which are available in Datablocks.
Releases zip-files of the plugin can be found at
The simplest way to install the MF Datablocks Widget in Wordpress is to upload the plugin in the Wordpress Admin panel.
Start off by retrieving the WP plugin, from the link above.
Go to the Plugins
section in the WP dashboard, click the button 'Add new' and then 'Upload plugin'.
Browse the plugin .zip-file and install. After installation, click 'Enable plugin'.
If you instead want to do a manual installation, you can download the plugin zip-file, unzip the package contents and then upload the db-wp-widget-folder to {Yourwordpressfolder}/wp-content/plugins/
Once installed the plugin is visible in the Plugins section where you can activate it. When you click 'activate', the Widget will be visible under Appearance -> Widgets as 'MF Datablocks WP Widget'.
Composer ()
There are two ways in which the plugin enables you to add Datablocks data to your site:
By Copying and pasting your own shortcode to your desired site section. For example the Footer.
Or you can use the widget option, where you create the shortcode in appaerence -> widgets
Copy the below shortcode and add Widget type and Widget token/id from integration PDF, that Modular Fiance provides.
[mfdb_widget type='Widget type' token='Widget token' locale='sv']
Add shortcode block:
Paste shortcode with widget cridentials:
Update page and you will see the widget:
It is also possible add a unique classname to a shortcode widget instance by appending classname='{MyClassName}' to the shortcode like so:
[mfdb_widget type='Widget type' token='Widget token' locale='sv' classname='MyClassName']
This can be useful if you want to control CSS-styling for individual widgets.
The MF Datablocks WP Widget adds a settings page in the WP dashboard where you can override the default Datablocks and JS Loader URL if needed. However, as the plugin already uses the correct URLs as default, there is normally no need to update these settings.
Code at