內容簡介
你投入了心血撰寫了許多迷人的部落格文章。你知道有很多人閱讀,但只有你媽媽留下了評論,這有點令人沮喪,對吧?透過給予讀者一張可愛的小貓照片作為回饋,吸引他們留下評論。
當評論區出現前,會顯示一個不顯眼的面板,並顯示一個簡短的訊息:「留下評論,讓我們快樂。送你一張小貓照片!」
當評論提交後,會在一個模態窗口中顯示一張可愛的小貓照片。
注意事項:
此外掛假設您的評論區 A) 是使用 'comment_form' 的 WordPress 函式建立的,B) 您的評論區有一個 id 為 'commentform'(這是 WordPress 的預設值,但您的主題開發人員可能因為各種原因改變了行為。
此外掛假設評論表單僅出現在單一文章中,只有在載入單一文章(或頁面)時才載入程式碼。
其他資訊
我為自己的樂趣而創建了這個外掛程式,現在將其提供給您使用。如果您認為有用,但需要更多功能,請不要猶豫,提出要求。
外掛標籤
開發者團隊
原文外掛簡介
You’ve poured your heart and soul in to writing fascinating blog posts. You know you have a lot of readership, but nobody except your mom is leaving comments. That’s a bit discouraging right? Entice your readers to leave comments by giving them a picture of a cute kitten in return.
Just prior to the comment form coming in to view, an unobtrusive panel will be displayed with a short message that says: “Your comments make us happy. Leave a comment, get a kitten!”
When a comment is submitted, a picture of an adorable kitten is displayed in a modal window.
Caveats:
This plugin assumes that your comment form is A) built with the ‘comment_form’ WordPress function and B) that your comment form has an id of “commentform” (This is the WordPress default, but your theme developer may have changed the behavior for whatever reason.
This plugin assumes that comment forms only appear on single posts and only loads the code when a single post (or page) is loaded.
Other Information
I created this plugin for my own amusement and am offering it for you to use as you wish. If you find it useful but would like more features, please do ask.
