| 开发者 | lukystile |
|---|---|
| 更新时间 | 2026年11月23日 04:45 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
$, +, %), adjustable speed, a label and an optional icon. Good for social proof such as customers served, projects shipped or years in business.proofblocks folder to /wp-content/plugins/.Install ProofBlocks, open a post or page in the block editor, add the Pricing Table block and pick a design preset. Each plan is its own column block, so you can add, reorder or duplicate plans and mark one as "Popular".
Yes. The Counter / Countdown block can count down to any date, or, with WooCommerce, to the real end of a product's sale. It can also work as an animated number counter that counts up when it scrolls into view.
Yes. Choose "A daily cut-off" under "Count down to", set the time and tick your working days. Add days off one per line: 2026-12-31 for a single date, 12-25 for the same day every year. The cut-off uses your site's time zone (Settings → General), and the next few weeks of cut-offs are built into the page, so a cached page still rolls over at the right moment.
No. WooCommerce is only needed for the optional sale countdown and stock counter. Without it, every block works as usual and those options simply aren't offered.
No. The page loads with the sale end date and stock it was cached with, and the block then checks your site for the current values and corrects itself if the sale or stock changed since.
No. If WooCommerce → Settings → Products → Inventory → "Stock display format" is set to never show the amount, ProofBlocks respects that: the stock counter shows its fallback instead, and the block editor tells you why.
No. All three blocks and every feature listed in the description work without restrictions. ProofBlocks Pro is an optional add-on for extra layouts and effects.
Yes. All three blocks work in both the Post Editor and the Site Editor.
No. Each block's CSS and JS is loaded only on pages where that block is actually present, using the Block Editor's built-in asset loading.
Yes. Start from one of the 8 colour presets and 4 design presets, then adjust shape, card style, font and text style per block. Developers can register their own colour sets through a filter.
The block content stays in your pages as standard HTML and doesn't disappear. It loses its styling until the plugin is reactivated, which is standard Block Editor behaviour.
By default, nothing. If you want the plugin's settings removed when you delete it, turn that on under Settings → ProofBlocks. Block content in your pages is never removed either way.
proofblocks.counter.numberSources and proofblocks.counter.sourceControls editor filters and answers proofblocks_counter_source_value in PHP; settings go in the new sourceSettings attribute.proofblocks/v1/wc-product/{id} endpoint now also returns reviews, rating, ratingText and (with a valid signature, or for editors) sold, and a proofblocks:livevalue event fires whenever one of these counters' value is set.proofblocks/v1/wc-product/{id} endpoint now also returns stock, and a proofblocks:stock event fires whenever a stock counter's value is set.proofblocks_counter_wrapper_attributes filter and a proofblocks:countdown event fired whenever a countdown's target date is set.alignwide/alignfull class.