[WordPress] 外掛分享: WP Report Post

首頁外掛目錄 › WP Report Post
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
900+
安裝啟用
★★★★
4.9/5 分(9 則評價)
2366 天前
最後更新
0%
問題解決
WordPress 3.0.1+ PHP 5.2+ v2.1.2 上架:2014-02-15

內容簡介

報告文章外掛是一個高度自訂化的外掛,讓您的訪客能夠舉報內容不當的文章或頁面。所有這些報告都被顯示為在您的管理員部分的表格中,因此您可以決定下一步該怎麼做:編輯內容、取消發佈文章或頁面,或者只是刪除這些報告。此外掛設計為可以自動與手動兩種模式下運作。在自動模式下,報告的連結將被添加到文章的元組資料中。在手動模式下,您可以在範本中任何您想要的地方放置連結、按鈕或圖片。

功能:

易於使用 – 您只需啟用該外掛即可完成
通過選項和 CSS 高度自訂
AJAX 基礎 – 不會重新載入頁面
可在自動模式和手動模式下使用(可用於模板中)
適用於文章、頁面和自定文章類型
支援 AJAX 加載的文章、「無限捲動」文章等
不再使用額外的資料庫/資料表,所有報告都存儲在文章的元組資料中
使用對話框(_modal window_)代替可展開表單(範例可與 AJAX 加載的文章搭配使用!)
批次取消發佈、發佈、刪除文章和刪除報告
前端顯示的所有文字都可以通過選項進行自訂
管理員收到報告文章的通知
可以使用驗證碼來防止垃圾留言

外掛演示:www.esiteq.com/projects/wordpress-report-post-plugin/

使用方法

此外掛處理 4 個類名。兩個是預定義的(先放簡單的感嘆號圖示連結 .report-post-link 和按鈕 .report-post-button)

另外兩個是您自己定義的(分別是.report-post-custom-link 和 .report-post-custom-button)。

為了正確地運作,報告連結必須放置在

<

article> 標籤內。Article 標籤必須擁有 id=”post-XXXX” 屬性,其中 XXXX 是當前文章的 ID。如果您的主題沒有使用

<

article> 標籤,您可以在報告連結中添加 post-id=”XXXX” 屬性,例如:

<a href="#" post-id="<?php echo $post->ID; ?>" class="report-post-link">Report Inappropriate Post</a>

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Report Post」→ 直接安裝(推薦)

原文外掛簡介

Report Post is a highly customizable plugin that lets your visitors to report posts or pages with inappropriate content. All these reports are displayed as a table in your Administrator section so you can decide what to do next: edit contents, unpublish posts/pages, or just delete these reports. The plugin was designed to work in both automatic and manual modes. In automatic mode, the link to report will be added to post’s meta box. In manual mode, you can place the link, button or image anywhere you want in templates.
Features:

Easy to use – you can simply activate the plugin and it will do the thing
Highly customizable via Options and CSS
AJAX based – no page reload will occur
Can be used in Automatic and Manual modes (to use in templates)
Works for Posts, Pages and Custom post types
Supports AJAXly loaded posts, ‘infinite scroll’ posts, etc.
Does not use additional databases / tables anymore. All reports are stored in postmeta.
Modal window instead of expandable form (works with AJAXly loaded posts!)
Bulk Unpublish, Publish, Delete Posts, Delete Reports
All texts displayed in front end are customizable via Options
Admin notification about reported posts
Can use Captcha to protect from spam

Plugin demo: www.esiteq.com/projects/wordpress-report-post-plugin/
Usage
Plugin handles 4 class names. Two pre-defined (.report-post-link for a simple link with exclamation mark icon and .report-post-button for button)
and two custom that you can define yourself (.report-post-custom-link and .report-post-custom-button, respectively).
To work correctly, report link must be placed inside of an
< article> tag. Article tag must have id=”post-XXXX”, where XXXX is the id of current post. If your theme does not use
< article> tags, you can add post-id=”XXXX” attribute to report link, e.g.
Report Inappropriate Post

延伸相關外掛

文章
Filter
Apply Filters
Mastodon