Fix WP-PostRatings plugin

Fix WP-PostRatings plugin

‘rate_post’ action hook.

WordPress › Support » is there any way to show the result via Ajax? WordPress › Support » Any cache plugin breaks wp-postratings?

Voting is done with Ajax but the result is not shown with Ajax.

Unfortunately not. This plugin was coded many years back and it is not designed to load results via AJAX and hence it will not work with any caching plugin that caches HTML

WordPress › Support » WP-PostRatings plugin compatibility WordPress › Support » hook of voting complete

WordPress › Support » [Plugin: WP Super Cache] Not working with wp-postratings

Solution:

Get WP-PostRatings via Ajax for WP Super Cache and W3 Total Cache Compatibility gist:3890721

This is also very nice one and flexible!

Schema.org fix

“wp_postratings_schema_itemtype” - Google Search WordPress › Support » How to change the Schema itemtype and the decimal value from the average number WordPress › Support » Disable http://schema.org/Article wp postratings change url - Google Search WordPress › Support » PostRatings and Rich Snippets - how to do ? WordPress › Support » Problem with Rich Snippet WordPress › Support » How to change the Schema itemtype and the decimal value from the average number WordPress › Support » Rich Snippet for thumbs up/thumbs down Rich snippets · Issue #40 · lesterchan/wp-postratings wp-postratings/wp-postratings.php at master · lesterchan/wp-postratings Shop Infos ‹ save-up.ch — WordPress F.A.Q. | Yet Another Stars Rating Official Site F.A.Q. | Yet Another Stars Rating Official Site wp-plugins/yet-another-stars-rating “rate_post” wordpress wp-postratings - Google Search Topic: Hook for Ratings Plugin | myCRED Coupons | myCRED Function Reference/add filter « WordPress Codex wp-postratings supercache - Google Search discourse/wp-discourse HOWTO: Make WordPress plugins work with WP Super Cache | Holy Shmoly! Make Any Plugin Work with WP Super Cache | OMNINOGGINOMNINOGGIN HowTo: Fix WP-Email, WP-Polls, WP-PostRatings & WP-PostViews AJAX Problems Making WP-PostRatings 1.50 Work With SuperCache Properly Get WP-PostRatings via Ajax for WP Super Cache and W3 Total Cache Compatibility


And clear cache if needed

Configuring W3 Total Cache - Tuts+ Code Tutorials

$this->clear_page_caches();

archives - Clear cache when a post is submitted - WordPress Development Stack Exchange

if (function_exists(‘w3tc_pgcache_flush_post’)) { w3tc_pgcache_flush_post($post_id); }

w3tc_pgcache_flush_post($post_id);

WordPress Cache Plugin Benchmarks Use WP Super Cache for WordPress speed, not W3 Total Cache | Tiger Technologies Blog


Speeding up your wordpress | AitThemes add wc_session in WP-Admin > Performance > Database Cache > Ignored query stems ?

date 01. Jan 0001 | modified 29. Dec 2023
filename: Task - Fixing WP-PostRatings plugin