[WordPress] 外掛分享: MLPicks

首頁 › 外掛目錄 › MLPicks
WordPress 外掛 MLPicks 的封面圖片
全新外掛
安裝啟用
—
尚無評分
3 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.1 上架:2026-11-16

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MLPicks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Are you struggling to keep readers on your WordPress site after they finish an article?
Most visitors read a single blog post and leave right away. If your website is still relying on basic category lists or slow plugins that show random stories, you are leaking visitors, page views, and revenue every single day.
If you aren’t showing your audience what to read next with fast and relevant suggestions, your hard-earned traffic is walking straight out the door.
Keep Readers on Your Site with MLPicks
Keep your readers engaged and dramatically increase on-site user interaction with intelligent, personalized content recommendations powered by a lightweight machine learning engine.
By combining ML power with quiet background processing, MLPicks shows your visitors articles they actually want to read next. Instead of slowing down your website with heavy database searches, it prepares recommendations in advance so your pages load instantly.
Everything runs 100% on your own server in pure PHP. There are no monthly fees, no external accounts to set up, and zero tracking cookies.
The Problem: Why Ordinary Related Posts Plugins Fail
Most site owners try to keep visitors around using standard related content plugins, but run into the same frustrating issues:

They Slow Down Your Site: Traditional plugins search your database every time a visitor opens a page. As your site gets more articles and traffic, your pages load slower and your site speed scores drop.
They Show Unrelated Posts: Most plugins simply grab the newest 3 posts from the same category. A reader finishing a specific guide often gets shown totally unrelated content simply because both share a general tag.
They Never Learn: Standard plugins show the same static lists to everyone. They cannot adapt to what your readers are actually interested in.
Third-Party AI Tools Are Costly and Heavy: External AI widgets require monthly subscriptions, inject heavy tracking scripts into your site, and send your visitor data to third-party servers.

The Solution: Smart Recommendations That Never Slow You Down
MLPicks is built differently. It does all the heavy thinking quietly in the background so your frontend stays lightning fast:

Fast Page Loads: Standard related post matches are pre-calculated in the background so frontend rendering avoids expensive full-corpus queries.
Smart Content Matching: Evaluates actual article content, reader journeys, and freshness—not just broad categories.
Privacy-Respecting Reader Tailoring: Recent reading history (post IDs and timestamps) is stored locally in the visitor’s browser and sent anonymously to your own site’s WordPress REST API for server-side ranking—no third-party servers or tracking cookies.
Total Data Privacy: No tracking cookies, no IP logging, and no visitor data ever leaves your server.

Machine Learning Architecture: How the ML Engine Works
Instead of locking up your MySQL database with slow queries, MLPicks combines mathematical vector space modeling, reader behavior paths, and logistic regression to deliver relevant suggestions from precomputed database tables.
MLPicks is not a superficial wrapper around an external API. It features a genuine, self-hosted machine learning engine implemented in native PHP:
1. TF-IDF Vector Space & Semantic Term Rarity
MLPicks tokenizes your titles, excerpts, and content into mathematical term frequency-inverse document frequency (TF-IDF) vectors. It incorporates BM25-style rarity weighting so unique, informative topics carry higher mathematical weight than generic filler words.
2. 5-Feature Logistic Regression Scoring
Candidate posts are scored through a multivariate logistic regression model with the probability function $P(\text{click}) = \sigma(w_0 + \sum w_i x_i)$:
* $x_1$ – Content Similarity: Cosine similarity between candidate post vectors and the active article or reader interest centroid.
* $x_2$ – Markov Transition Probability: First-order Markov chain transitions calculated from aggregate, anonymous reader click paths ($P(\text{Post}B \mid \text{Post}_A)$).
* $x_3$ – Popularity Velocity: Log-normalized 30-day view velocity ($\ln(1 + \text{views}{30\text{d}}) / \ln(1 + \text{max_views}_{30\text{d}})$), surfacing trending content without letting older posts monopolize recommendations.
* $x_4$ – Taxonomy Affinity: Jaccard overlap between taxonomy terms, weighted by inverse category frequency.
* $x_5$ – Freshness Decay: Continuous exponential half-life decay ($\exp(-\lambda \cdot \Delta t)$ with a 30-day half-life), ensuring newer posts receive a gentle, natural boost.
3. Model Weight Stability
Recommendations use the active model weights, or the built-in weights on new installs. Scheduled weight updates are paused while historical model evaluation is improved.
4. Specialized Side-by-Side Comparison Model
MLPicks includes dedicated model weights calibrated specifically for comparison content (e.g., “Product A vs Product B”), identifying natural alternative choices and presenting them in high-converting comparison cards.
Key Features

Precomputed Background Matching: All similarity scoring, vector generation, and matrix calculations execute quietly via WordPress background cron jobs. Your frontend remains blazing fast.
Dynamic Grid & List Layouts: Present suggestions in clean, modern card grids or sleek horizontal list rows that seamlessly match any theme’s typography and color scheme.
Session-Tailored Dynamic Discovery: With the [mlpicks_recommendations] shortcode, the browser stores recent post IDs and timestamps in localStorage (subject to visitor consent) and sends them anonymously to your site’s local REST API so the server can rank individualized suggestions without tracking cookies.
Side-by-Side Comparison (VS) Cards: Automatically link product reviews and comparative articles with the [mlpicks_comparison] shortcode, complete with thumbnail teasers and feature highlights.
Intelligent Thumbnail Fallbacks: Automatically detects in-content images if no featured image is set, or falls back to an elegant typography-focused card layout to prevent broken images.
Editorial Control & Hand-Picked Overrides: Pin specific high-priority articles directly from the post editor sidebar, or hide recommendation boxes on specific landing pages with one click.
Built-in Analytics & Suggestion Health: Monitor impressions, clicks, click-through rates (CTR), and identify unindexed or orphaned articles from the intuitive admin report.
100% Cache & CDN Compatible: Compatible with WP Rocket, LiteSpeed Cache, W3 Total Cache, Fastly, Cloudflare, and server-level object caches (Redis, Memcached).
Multisite & Multi-Post-Type Ready: Works seamlessly with custom post types and WordPress Multisite networks.

How It Works

Indexing: When activated, MLPicks catalogs your published articles in the background, tokenizing content and building the TF-IDF term matrix.
Matching: The 5-feature ML algorithm calculates correlation scores between articles and stores top candidates in an indexed database table (wp_mlpicks_related).
Fast Display: When a reader views an article, MLPicks fetches precomputed matches with a single indexed database query rather than scanning all posts on each request.
Aggregate Reading Patterns: Eligible article views update aggregate transition counts used in recommendation ranking.

Use Cases

Content Creators & Bloggers: Keep readers engaged on your site longer, reducing bounce rates and boosting ad impressions.
Affiliate & Review Sites: Connect related product reviews and comparison guides automatically, driving higher buyer intent and affiliate conversions.
News & Digital Magazines: Deliver trending stories and topical follow-ups without straining your web server during breaking traffic spikes.
Corporate & Niche Documentation: Guide users effortlessly to relevant documentation, whitepapers, and troubleshooting articles.

Why Choose MLPicks Over Conventional Alternatives?

vs. Traditional Related Post Plugins: Standard plugins execute real-time SQL queries that slow down page loads. MLPicks precomputes matches in the background for zero frontend impact.
vs. Cloud-Based SaaS Recommendations: Third-party AI tools charge expensive monthly subscription fees and send your visitor data offsite. MLPicks is 100% free, self-hosted, and privacy-first.
vs. Generic Category Lists: Category-based widgets show chronological posts regardless of relevance. MLPicks uses multi-factor machine learning to surface articles readers genuinely want to read.

Getting Started

Activate the plugin.
Background indexing starts automatically—no complex setup required.
Recommendations immediately appear below your posts.
Customize your layout, card count, and headings under MLPicks > Settings.

Shortcodes
MLPicks includes a versatile set of shortcodes to place recommendations anywhere in your content, templates, or block layouts:
[mlpicks]
[mlpicks_related_articles] is an alias with the same options.

Renders algorithmic related articles based on the current post.
* count (int): Number of cards to display (default: 4, range: 1–12).
* heading (string): Custom section title (e.g., heading="Further Reading").
* layout (string): Card presentation style: grid (default) or list.
* show_date (string): Display publication dates: yes or no (default: no).
* show_category and show_reading_time (string): Use yes or no, or omit to inherit Settings.
* fallback (string): Fallback behavior when few matches exist: hide or latest.
Example: [mlpicks count="3" layout="grid" heading="Recommended Stories"]
[mlpicks_recommendations]
Displays dynamic content recommendations curated to the individual visitor’s reading interests.
* count (int): Number of cards to display (default: 4).
* heading (string): Custom section title (default: Recommended for you).
* layout (string): grid or list.
Example: [mlpicks_recommendations count="4" layout="grid"]
[mlpicks_most_read]
Displays your site’s most popular articles based on aggregate interaction metrics.
* count (int): Number of articles to display (default: 4).
* period (int|string): Time window from 1 to 90 days, or all for lifetime totals (default: 30). Larger numeric values use the 90-day window.
* heading (string): Custom title (default: Trending Now).
* layout (string): grid or list.

show_category and show_reading_time (string): Use yes or no, or omit to inherit Settings.

Example: [mlpicks_most_read count="4" period="7" heading="This Week's Top Stories"]
[mlpicks_recent_articles]
Displays the newest published articles from your archive.
* count (int): Number of articles to display (default: 4).
* heading (string): Custom section title (default: Recent articles).
* layout (string): grid or list.

show_category and show_reading_time (string): Use yes or no, or omit to inherit Settings.

Example: [mlpicks_recent_articles count="3" layout="list"]
[mlpicks_comparison]
Displays specialized side-by-side comparison cards for product reviews and comparative articles.
* count (int): Number of comparison cards to display (default: 2).
* heading (string): Custom section title (default: Compare Alternatives).
* layout (string): side-by-side (default) or stacked.
* compare_to (string): Comma-separated post IDs to compare.
* meta_key (string): An approved public field, such as price where configured.
Example: [mlpicks_comparison count="2" layout="stacked"]
[mlpicks_inline]
Shows one eligible recommendation inside the article. It uses a hand-picked post first, then a saved related match, then a recent post if the latest fallback is enabled.

heading (string): Optional label. Omit it to use the inline heading from Settings.
Example: [mlpicks_inline heading="Read next:"]

Place the shortcode where you want the callout. Manual placement works with automatic placement off. To insert it automatically, enable automatic placement and the inline option in Settings. Automatic placement counts top-level paragraphs and requires a further paragraph after the insertion point.

延伸相關外掛

文章
Filter
Mastodon