Diagnose why your view counter isn’t displaying and fix it with this comprehensive troubleshooting checklist
You’ve installed WhoKnew Views™, but the view counter isn’t appearing on your product pages. Don’t panic—this is almost always a configuration or compatibility issue with a simple fix. Let’s work through the most common causes systematically.
⏱️ Quick Check: Before diving into troubleshooting, visit any single product page (not the shop archive) and check your browser’s Developer Tools (F12) → Console for any errors. This often points directly to the issue.
🔍 The 12-Point Diagnostic Checklist
Work through these checks in order—each builds on the previous one:
1
Is WooCommerce Active?
WhoKnew Views™ requires WooCommerce to be installed and activated. The plugin automatically deactivates if WooCommerce is missing.
✅ Check:Plugins → Verify “WooCommerce” shows as Active
2
Are You on a Single Product Page?
By default, the counter only displays on individual product pages—not on the shop archive, category pages, or cart. This is intentional.
✅ Check: Navigate to yoursite.com/product/product-name/ (a single product URL)
📋 Note:display_on_shop and display_on_archive settings exist but are 0 by default
3
Is Product-Level Visibility Set to Hidden?
Each product can have its visibility overridden. If set to Hidden (Always Off), the counter won’t display regardless of global settings.
✅ Check:WhoKnew Views → Products tab → Look for the 👁️ icon in the visibility column
🔴 = Hidden | 🟢 = Visible | 🟢🔵🟣 = Smart Mode
4
Is Smart Visibility Mode Hiding It?
PRO If a product uses Green, Blue, or Purple Mode, the counter may be intentionally hidden based on conditions (time, performance, stock, AI decision).
✅ Check: As an admin, a colored box appears in the console/product page showing:✅ SHOW or ❌ HIDE with the reason
5
Is Mobile Visibility Set to Desktop Only?
The mobile_visibility setting can be set to Desktop Only—which hides the counter on mobile devices.
✅ Check:WhoKnew Views → Styling → Scroll to “Mobile Visibility”
Options: Both (default) | Desktop Only | Mobile Only
6
Is Your Theme Missing the Hook?
WhoKnew Views™ uses the woocommerce_before_single_product_summary hook (priority 20). Some themes don’t fire standard WooCommerce hooks.
✅ Test: Temporarily switch to Storefront theme → Check if counter appears
If it works on Storefront, your theme is the issue
7
Is Your Theme Hiding It with CSS?
Some themes apply aggressive CSS that hides elements they don’t recognize. Check for display: none, opacity: 0, or visibility: hidden.
✅ Test: Open DevTools (F12) → Inspect the product gallery area → Search for .product-views-counter
If present but invisible, check computed styles for display or opacity
8
Is Caching Serving a Stale Page?
Page caching plugins (WP Super Cache, W3 Total Cache, LiteSpeed Cache, etc.) can serve old versions of pages that don’t include the counter.
✅ Test: Clear all caches → Test in incognito mode → Add ?nocache=1 to URL
Also clear CDN cache if using Cloudflare, Fastly, etc.
9
Is Z-Index Too Low?
The counter might be rendering behind another element (product image, lightbox overlay, etc.).
✅ Fix:WhoKnew Views → Styling → Set Z-Index to High (1000) or Custom: 9999
10
Is Opacity Set to 0%?
Someone may have accidentally set the counter opacity to 0 in the styling settings.
✅ Check:WhoKnew Views → Styling → Look for “Opacity” setting → Ensure it’s 1.0 (100%)
11
Is Pro License Active?
PRO If Pro features (Smart Visibility, padding) are configured but the license expired, the plugin may behave unexpectedly.
✅ Check:WhoKnew Views → License → Verify status shows Active
12
Is Another Plugin Conflicting?
Some optimization, security, or product page builder plugins can interfere with WooCommerce hooks.
✅ Test: Deactivate all plugins except WooCommerce + WhoKnew Views → Check counter
If it works, reactivate plugins one-by-one to find the conflict
🛠️ Enable Debug Logging
For advanced troubleshooting, enable WordPress debug logging to see exactly what WhoKnew Views™ is doing:
Add to wp-config.php (above “That’s all, stop editing!”):
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );Then check /wp-content/debug.log for entries like:
>>> WKV DISPLAY FUNCTION CALLED <<<
WKV Display: get_queried_object_id() = 1234
WKV Display: Using product ID: 1234
If you see "No product ID found - EXITING", the theme isn’t providing the product context properly.
🎨 Visual Flowchart: Why Isn’t It Showing?
┌─────────────────────────────────┐
│ WooCommerce Active? │
│ └─ No → Install & Activate │
└────────────┬────────────────────┘
↓
┌─────────────────────────────────┐
│ On Single Product Page? │
│ └─ No → Navigate to one │
└────────────┬────────────────────┘
↓
┌─────────────────────────────────┐
│ Visibility = Hidden? │
│ └─ Yes → Change to Visible │
└────────────┬────────────────────┘
↓
┌─────────────────────────────────┐
│ Smart Mode = HIDE? │
│ └─ Yes → Check mode config │
└────────────┬────────────────────┘
↓
┌─────────────────────────────────┐
│ Cache Cleared? │
│ └─ No → Clear all caches │
└────────────┬────────────────────┘
↓
┌─────────────────────────────────┐
│ Theme Conflict? │
│ └─ Test with Storefront │
└────────────┬────────────────────┘
↓
🎉 Counter Should Display!
🎨 Theme Compatibility
WhoKnew Views™ is designed to work with all WooCommerce-compatible themes out of the box. The plugin uses:
- ✅ Standard WooCommerce hooks (
woocommerce_before_single_product_summary) - ✅ High-specificity CSS selectors to avoid conflicts
- ✅ Configurable Z-Index (Low/Medium/High/Custom) for stacking control
- ✅ Position type options (Absolute, Fixed, Relative, Static) for layout flexibility
✅ Universal Compatibility: If your theme properly implements WooCommerce’s standard product page template, WhoKnew Views™ will display correctly without any theme-specific adjustments.
If the counter isn’t appearing, the issue is almost always one of the 12 diagnostic checks above—not a theme incompatibility. If you do run into a theme compatibility issue, please contact support.
📋 Quick Fixes Summary
🟢 Most Common Fix
Clear all caches (page cache, CDN, browser) and test in incognito mode.
🔵 Theme Issue Fix
Switch to Storefront temporarily. If counter appears, contact theme support.
🟠 Reset Everything
Reset to Factory Defaults in Styling tab, then reconfigure from scratch.
🔴 Still Stuck?
Generate a System Info Report and contact support with the details.
ℹ️ Pro Tip: The System Info page (WhoKnew Views → Admin → System Info) includes all plugin settings, active theme, and conflict-prone plugins. Copy this report when contacting support—it speeds up troubleshooting dramatically.
If you’ve worked through all 12 checks and the counter still isn’t showing, the issue is likely theme-specific. Contact your theme developer with the debug log output, or reach out to WhoKnew Views™ support with your System Info report.