
內容簡介
在 DirectoryEngine 主題中,顯示檢視次數的功能尚未實現 - 這是一個 EngineTheme 的主題。在此期間,此外掛將協助您執行此操作。
安裝外掛後,您將在您的主題中看到可以添加一些檢視的選項出現在地點項目的右下角(在地點列表中)。
此外掛不會為帖子創建元數據,但它將在您的數據庫中創建一個新表格,並將檢視保存在其中。這是未來發展的良好解決方案。當我們可以儲存更多元數據時。
演示: Địa Điểm Phật Giáo
用法
對於當前版本的主題,您需要打開 DirectoryEngine 主題中的檔案,然後:
顯示檢視次數:使用 do_action('de_show_view_count');
增加檢視次數:使用 do_action('de_increase_view_count');
越南 WordPress 社群
WordPress Kite
Sen Việt
Facebook 專頁
Google 加入
越南 WordPress 社群
加入越南 WordPress 社群,與其他社員一起分享關於程式設計的知識和經驗。
越南 WordPress 社群
WordPress Kite
Sen Việt
Facebook 專頁
Google 加入
外掛標籤
開發者團隊
原文外掛簡介
The feature displays the view count is not yet a reality in DirectoryEngine theme – a theme of EngineTheme. In the meantime, this plugin will help you to do that.
After installing the plugin, you will see in your theme to add some view appears in the right-bottom corner of place item ( in place list ).
This plugin does not create metadata for the post, but it will create a new table in your database, and saved views in this view. This is a good solution for the future development. When we can save many more metadata.
Demo : Địa Điểm Phật Giáo
Usage
For current version of theme, you have to open file in DirectoryEngine theme then :
To display view count : using do_action(‘de_show_view_count’);
To increase view couint : using do_action(‘de_increase_view_count’);
Cộng đồng wordpress Việt Nam
WordPress Kite
Sen Việt
Facebook page
Google plus
Cộng đồng wordpress Việt Nam
Hãy tham gia cộng đồng wordpress Việt Nam để cùng chia sẻ kiến thức, kinh nghiệm về lập trình
Cộng đồng wordpress Việt Nam
WordPress Kite
Sen Việt
Facebook page
Google plus
