Skip to main content

How to Install the DubBot WordPress Plugin

Show DubBot information inside WordPress

Ready to give our WordPress plugin a whirl?

WordPress Multisite Installations

On a WordPress multisite network, a network administrator should activate DubBot for the network from Network Admin > Plugins.

WordPress Admin Interface highlighting Settings in left menu and Dubbot in the flyout menu.

Configure network defaults at Network Admin > Settings > DubBot :

  • Embed Key : request this key from DubBot Support

  • Editor Selector: CSS selector for the element containing the editor's content

  • Site Overrides: Enabled by default. Existing site-specific DubBot settings are preserved if this is disabled, but they will not be used.

DubBot Network Settings panel


Single Site Installation

Follow these instructions:

  1. Obtain an Embed Key from DubBot support either via the in-app chat or email at help@dubbot.com

  2. Go to your WordPress Admin Dashboard

  3. Navigate to Plugins > Add New Plugin
    ​

    WordPress interface showing Plugin selected with sub-menu shown and the Add New Plugin item selected.

  4. Select Upload Plugin
    ​

    WordPress editing interface with Add Plugins interface shown and Upload Plugin button highlighted.


    ​

  5. Using the Choose File button, select the DubBot WordPress plugin zip file you downloaded in Step 2 then select the Install Now button.
    ​

    Upload plugin interface from Word Press showing  Choose File button to upload the plugin and Install Now button.


    ​

  6. Select the Activate Plugin button to activate the module.
    ​

    WordPress interface showing Activate Plugin button that appears when a plugin has been installed.


    ​

  7. Navigate to Settings > DubBot and enter your Embed Key and Save Changes.
    Depending on your WordPress installation and plugins, the Editor Selector field may require updating. This field is only needed for inline highlighting in the module. The DubBot information will show in the top information bar in a page's view.
    ​

    DubBot Module Setting interface showing the Embed Key field and Editor Selector field.

Customizing the Page URL

By default, DubBot sends WordPress’s permalink for the page or post to the DubBot API. If the public URL differs from the WordPress permalink, such as when a domain mapping plugin is used, add a dubbot_page_url filter in a site-specific plugin or your theme’s functions.php file:

add_filter('dubbot_page_url', function ($url, $post_id) { return domainmap_map_url($url); }, 10, 2);

The filter receives the WordPress permalink and the post ID, and must return the URL that DubBot should use. It applies to both the displayed results and the metadata used for editor highlighting.

Contact us via email at help@dubbot.com or via the blue chat bubble if you need assistance with this.

If you have questions, please contact our DubBot Support team via email at help@dubbot.com or via the blue chat bubble in the lower right corner of your screen. We are here to help!

Did this answer your question?