
Sophi.io is a suite of artificial intelligence (AI) tools developed by The Globe and Mail to help content publishers make important strategic and tactical decisions. The tools range from automated content curation engines to predictive analytics and paywall solutions.
Sophi-driven pages outperform human curated pages by a significant margin and free up publisher resources so that they can focus on finding the next story that matters. Invisible, automated curation of your home and section pages to streamline your team’s workflow. Continuously optimize the performance characteristics of the site based on demand and your brand, so the content is always the right fit.
Note that a Sophi.io account and related credentials are required in order to authorize and authenticate access within the plugin settings.
There are two potential ways to integrate Sophi Site Automation results with your WordPress site. The default approach includes a Sophi Site Automation block that integrates with get_posts by injecting Posts IDs via the posts_pre_query filter that gets fetched later to return the actual Posts. In the same fashion, you can integrate Sophi results with your WP_Query object by setting the sophi_curated_page and sophi_curated_widget query parameters.
More details on each of these two options are described below. If you are not certain on the best integration approach, considering the following:
Reasons to use the Site Automation block:
– No additional development effort needed for initial Sophi integration
– Immediate integration with Sophi Site Automation API and page/widget settings
– Basic block display settings allow for basic configurations (show/hide post excerpt, author name, post date, featured image)
Reasons to use the Query integration:
– Can implement more custom caching and content fallback options
– Can implement support into non-block editor setups
– Likely more flexible for headless setups
– Block editor is not in-use within your WordPress environment
– You need an integration with Category/Taxonomy Pages and cannot integrate using a sidebar widget
You can utilize the Site Automation block by configuring the Site Automation page and widget names and adjusting block content and post meta settings to display Site Automation content on your site.
The Site Automation block comes with a barebone HTML output and styling. It’s made to be filtered using sophi_site_automation_block_output.
add_filter( 'sophi_site_automation_block_output', function( $output, $curated_posts, $attributes, $content, $block ) { // ... return $new_output; }, 10, 5 ); The Site Automation block will automatically add a data-sophi-feature=<widget_name> attribute for the rendered HTML content so Sophi can understand what content section is rendered on your site.
The Site Automation block uses query integration under the hood. You can query for Sophi curated articles by passing sophi_curated_page and sophi_curated_widget to your WP_Query queries.
$the_query = new WP_Query( [ 'sophi_curated_page' => 'page-name', 'sophi_curated_widget' => 'widget-name', ] );
Note that you need to add data-sophi-feature=<widget_name> to the wrapper div of your post for Sophi to capture your widget better.
<div class="posts-wrapper" data-sophi-feature="trending"> <!-- Post lists --> </div>
While the above query integration works just fine, it has been observed on WordPress VIP infrastructure that WP_Query may return latest posts instead of the posts curated by Sophi due to the Advanced Post Cache plugin used by the VIP platform. A workaround for this is to use get_posts() instead and as good practice to add a comment explaining the usage of it so that developers new to it don’t swap it for WP_Query. Also remember to whitelist get_posts by adding the following inline comment so that PHPCS doesn’t throw a warning:
phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.get_posts_get_posts<h3>Developer Documentation</h3>
Sophi for WordPress has an in-depth documentation site that details the available actions and filters found within the plugin. Visit the developer docs ☞
If you are having difficulties with your Sophi integration, then we recommend utilizing the Debug Bar for Sophi plugin to help triage your Sophi Authentication, Sophi API integration, and CMS publish/update events.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
10up
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add comparison tables to your site to help visitors evaluate features side by side, understand differences quickly, and choose the right option with confidence.
Use a support form that lets customers submit tickets, saves each request, sends notifications, and helps you manage support more efficiently.
Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.
Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.
Use a sticky video that stays visible while users scroll to keep content in view, increase watch time, and boost engagement.
Use tilted image effects to rotate visuals, add creative style, and keep visitors engaged with dynamic images on your site.
Display ratings from multiple platforms in a reviews trust box that builds credibility, social proof, and boosts conversions.

Add a Google powered search bar that delivers relevant results, improves navigation, and helps visitors find content fast.
Use a contact form so visitors can send messages, submit inquiries, and help you collect leads and improve user experience.
Show AliExpress reviews to build trust, improve credibility, and help visitors make confident purchase decisions that support higher sales.

Add floating corner pop-ups to share updates, promotions, or messages in a non-intrusive, customizable format.
Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
