Option A – Using Outbrain New WordPress Plugin

The easiest way to implement our widget is using our WordPress plugin named “Outbrain Feed”. You can install this plugin using any standard WordPress installation method. If you’re new to installing plugins, consider watching this introductory video on WordPress plugin installation for guidance. Follow these steps for the simplest installation process:

  1. Log in to WordPress as an Admin: In your Admin dashboard, go to the “Plugins” menu and select “Add New.”
  2. Find the Plugin: In the WordPress Plugin Marketplace, type “Outbrain” in the search bar and press Enter.
  3. Install and Activate: Locate “Outbrain Feed” in the search results, then click “Install and Activate.”
  4. Verify Installation: Go back to the “Plugins” menu and ensure “Outbrain Feed” is listed among your installed plugins. Check that it’s marked as “Activated.” If it shows as “Deactivated,” click “Activate.”
  5. Confirm Installation: In the plugin’s “Settings” section, you’ll see a brief description of the plugin’s capabilities to confirm successful installation.

That’s it! No additional settings are required. If your site is already registered as an Outbrain publisher, the Outbrain Feed will now automatically appear at the bottom of each article or post. 


Option B – Using Other WordPress Plugin

Although Outbrain’s WordPress is the most simplest way, you may use one of the plugins available on WordPress marketplace that support ad insertion, for example Ad Inserter or WPCode – Insert Headers and Footers.


Option C – Adjusting the Post Content Code

  1. Log into your WordPress site with administrator access (append /wp-admin/ to the site URL).
  2. In the WordPress dashboard navigate to the “Appearance” tab.
  3. Go to the “Theme Editor” tab.
  4. Look for the file “Single Post (single.php)”*.
  5. Add the following code:
    echo('<div class="OUTBRAIN" data-widget-id="Widget_ID" data-src="'.get_permalink().'"></div>');      
    echo('<script type="text/javascript" async src="https://widgets.outbrain.com/outbrain.js"></script>');
    
  6. Click on the “Update File” icon. That should make the widget active on the page*it depends on your setup preference if you place the code in single.php or page.php

See screenshot below:

Theme Page Edit

Theme Page Edit

Child Themes


You might also want to take a quick look at the short explanation of what a “Child Theme” is and why it’s helpful for better control over your content: https://developer.wordpress.org/themes/advanced-topics/child-themes/