Why Your Trustindex Widget Isn't Showing and How to Fix It
Content
One of the most common issues users face with the Widgets for Google Reviews plugin is the widget not displaying on their website. This can be frustrating, especially after a successful setup. Based on community reports and solutions, here’s a breakdown of why this happens and the most effective troubleshooting steps.
Common Causes for Widgets Not Displaying
- Caching and Optimization Conflicts: Aggressive caching, CSS/JS minification, or unused CSS removal in plugins like WP Rocket can prevent the widget's necessary JavaScript from loading correctly.
- Code Placement Issues: For floating widgets, the embed code might be placed in a location where it's covered by other HTML elements, requiring a specific placement in the site's code.
- Plugin or Theme Conflicts: A recent update to the plugin, your theme, or another plugin can sometimes cause unexpected conflicts.
- Configuration Errors: Incorrect shortcode usage or block configuration in the page editor can stop the widget from rendering.
Top Troubleshooting Steps to Try
1. Address Caching and Optimization Plugins
This is the most frequent culprit. If you use a caching plugin (e.g., WP Rocket, W3 Total Cache), you must exclude the Trustindex script from certain optimization processes.
- Exclude from Minification/Combination: In your caching plugin's settings, find the section for excluding JavaScript files. Add the following URL to the exclusion list:
https://cdn.trustindex.io/loader.jsorhttps://cdn.trustindex.io/*. - Exclude from "Remove Unused CSS": Features that remove unused CSS can break the widget. Add the same URL (
https://cdn.trustindex.io/loader.js) to your CSS safelist or exclusion list. As a last resort, you may need to temporarily disable this feature to confirm it's the cause. - Clear All Caches: After making any changes, clear your plugin, server, and browser caches before testing again.
2. Use the Plugin's Recreate Function
Within the WordPress admin, navigate to the Widgets for Google Reviews plugin settings. Find the "Advanced" tab and look for a "Recreate plugin" button. Clicking this can often reset the connection and resolve display issues.
3. Check the Troubleshooting Tab
The plugin includes a valuable diagnostic tool. In the "Advanced" tab, you'll find a "Troubleshooting" section. Click "Copy to clipboard" to copy your system's configuration details. This information is often requested by support volunteers and can help pinpoint specific server-related issues like PHP configuration or missing CURL libraries.
4. Verify Code Placement and Implementation
- For Floating Widgets: The Trustindex team suggests placing the embed code for floating widgets right below the
<body>tag in your theme's header.php file to ensure it appears above other elements. - For Shortcodes/Blocks: Ensure you are using the correct shortcode or Gutenberg block. If a shortcode isn't working on a specific page (like a homepage), try using the dedicated Trustindex block instead, as some page builders or themes may process them differently.
5. Test for Conflicts
Temporarily switch to a default WordPress theme (like Twenty Twenty-Four) and disable all other plugins. If the widget appears, reactivate your plugins and theme one by one to identify the conflict.
When to Provide More Information
If none of the above steps work, the community will likely need more details to help. Be prepared to provide:
- The URL of the page where the widget should appear.
- The full text from the "Troubleshooting" tab.
- The name and version of your theme and caching plugins.
Most display issues can be resolved by carefully managing cache exclusions and using the plugin's built-in troubleshooting tools. Following these steps will help you get your reviews back online.
Related Support Threads Support
-
Widget style not appliedhttps://wordpress.org/support/topic/widget-style-not-applied/
-
Plugin loading in all pages except homepagehttps://wordpress.org/support/topic/plugin-loading-in-all-pages-except-homepage/
-
WIdget + anchor on same pagehttps://wordpress.org/support/topic/widget-anchor-on-same-page/
-
LCP on PageSpeedhttps://wordpress.org/support/topic/lcp-on-pagespeed/
-
Widgets jump on page loadhttps://wordpress.org/support/topic/widgets-jump-on-page-load/
-
Custom CSS won’t appliedhttps://wordpress.org/support/topic/custom-css-wont-applied/
-
Widget not displayinghttps://wordpress.org/support/topic/widget-not-displaying-14/
-
Upgrade problem with CSS loadinghttps://wordpress.org/support/topic/upgrade-problem-with-css-loading/
-
Block Elementor Editor !https://wordpress.org/support/topic/block-elementor-editor/
-
Default Font Not Displaying Correctly on Website Widgethttps://wordpress.org/support/topic/default-font-not-displaying-correctly-on-website-widget/
-
Remove Inline CSShttps://wordpress.org/support/topic/remove-inline-css-11/
-
Suppression fléche de navigationhttps://wordpress.org/support/topic/suppression-fleche-de-navigation/
-
Minification Javascripthttps://wordpress.org/support/topic/minification-javascript/
-
Mobile Version Widgethttps://wordpress.org/support/topic/mobile-version-widget/
-
Widget no longer displays on front end of sitehttps://wordpress.org/support/topic/widget-no-longer-displays-on-front-end-of-site/
-
Two widgets in same WordPresshttps://wordpress.org/support/topic/two-widgets-in-same-wordpress/
-
Plugin not responsivehttps://wordpress.org/support/topic/plugin-not-responsive-10/
-
Trustindex.io widget background not showinghttps://wordpress.org/support/topic/trustindex-io-widget-background-not-showing/
-
Rich Snippet Not Displaying for Trustindex Widgethttps://wordpress.org/support/topic/rich-snippet-not-displaying-for-trustindex-widget/
-
Error with the pluginhttps://wordpress.org/support/topic/error-with-the-plugin-9/
-
DOM with a lot of unneccessary spaceshttps://wordpress.org/support/topic/dom-with-a-lot-of-unneccessary-spaces/
-
Wprocket mobile – remove unused css issuehttps://wordpress.org/support/topic/wprocket-mobile-remove-unused-css-issue/
-
Updating plugin breaks websitehttps://wordpress.org/support/topic/updating-plugin-breaks-website-3/
-
Widgets don’t showhttps://wordpress.org/support/topic/widgets-dont-show-3/
-
WYSIWG Editor Widgethttps://wordpress.org/support/topic/wysiwg-editor-widget/
-
WCAG compatibilityhttps://wordpress.org/support/topic/wcag-compatibility/
-
Adjust Columnshttps://wordpress.org/support/topic/adjust-columns-2/
-
Widget format not populatinghttps://wordpress.org/support/topic/widget-format-not-populating/
-
Widget not showing and causing errors on imageshttps://wordpress.org/support/topic/widget-not-showing-and-causing-errors-on-images/
-
Widget isnt full lenghthttps://wordpress.org/support/topic/widget-isnt-full-lenght/
-
Z-index Issuehttps://wordpress.org/support/topic/z-index-issue-16/
-
Potential conflict with lite speed cache?https://wordpress.org/support/topic/potential-conflict-with-lite-speed-cache/
-
Widget Still Loading Deferred After Excluded https://cdn.trustindex.io/loader.jshttps://wordpress.org/support/topic/widget-still-loading-deferred-after-excluded-https-cdn-trustindex-io-loader-js/
-
In the last update the widget has disappearedhttps://wordpress.org/support/topic/in-the-last-update-the-widget-has-disappeared/
-
after update the font does not display properlyhttps://wordpress.org/support/topic/after-update-the-font-does-not-display-properly/
-
Changing CSS for hover on Widgethttps://wordpress.org/support/topic/changing-css-for-hover-on-widget/
-
defer asynchttps://wordpress.org/support/topic/defer-async/
-
TypeError in resize_widget functionhttps://wordpress.org/support/topic/typeerror-in-resize_widget-function/