
內容簡介
Reve Dynamic Widget 是一個擴展的 WordPress 文字小工具,可以評估任何內容類型(文字、HTML、Javascript、PHP 或簡碼),並在您想要的文章和頁面中顯示它。
這是完全免費、非常輕量級、快速、易於使用且通用的外掛。
此外掛可以翻譯(包括 pot 檔案),並且已經翻譯成西班牙文。歡迎提供其他語言的翻譯。
編輯功能
「顯示標題」選項允許您在前端顯示或隱藏小工具標題。
與核心文字小工具一樣,您可以使用「自動添加段落」選項格式化內容。
您可以輸入任何文字、HTML、CSS、Javascript 和/或 PHP 代碼。
您還可以輸入任何常用於帖子或頁面中的簡碼。
啟用「使用 PHP 評估內容」選項以啟用 PHP 解析器。
篩選選項
按模板選項顯示或隱藏小工具:顯示在首頁、博客頁面、帖子、頁面、存檔、搜索和錯誤頁面。
使用「排除帖子或頁面」選項,在啟用「在帖子中顯示」和/或「在頁面中顯示」時隱藏特定帖子或頁面中的小工具。
插入 PHP 代碼
PHP 代碼必須正確,並在 PHP 標記 <?php 和 ?> 中使用。
請注意,任何 PHP 代碼都是在 PHP 函數范圍內執行的,但您可以使用幾乎所有您可以使用 PHP 做的事情。所以只有具有 PHP 知識的管理員才能使用此功能。
此外掛使用原生 PHP 的 eval() 函數和錯誤控制運算符 @,以防止錯誤消息和破損的頁面。因此,如果您沒有看到 PHP 輸出,那可能是因為您的代碼有錯誤。
別忘了啟用「使用 PHP 評估內容」選項,該選項默認情況下被禁用。
需要幫助?
需要幫助,請使用WordPress 支援論壇。
您也可以撰寫評價回饋。
貢獻開發
如果您喜歡這個外掛,請在這裡給我們五星評分。
如果您讓此外掛盈利,請在這裡給我們任何 Paypal 捐款。
外掛標籤
開發者團隊
原文外掛簡介
Reve Dynamic Widget is a extended WordPress text widget that evaluates any content type (text, HTML, Javascript, PHP or shortcodes) and shows it in the posts and pages you want.
It is totally free, very light-weight, fast, easy to use and versatile.
This plugin is translation ready (pot file included) and translated to spanish. Translations to other languages are welcome.
Editor features
The “Show title” option allows you to show or hide the widget title in the frontend.
As the core text widget, you can format the content with the “Add paragraphs automatically” option.
You can enter only text as content, or any HTML, CSS, Javascript and/or PHP code.
Also you can enter any shortcode that you normally use in your posts or pages.
Activate the “Evaluate content with PHP” option to enable the PHP interpreter.
Filter options
Show or hide the widget by template options: show in front page, blog page, posts, pages, archive, search and error pages.
Use the “Exclude posts or pages” option to hide the widget in certain posts or pages, when show in post and/or in pages are activated.
To insert PHP code
PHP code must be correct and used within the open and close PHP tags: .
Note that any PHP code is executed in the scope of a PHP function, but you can do almost everything that you can do with PHP. So only administrators with PHP knowledges must use this feature.
This plugin uses the native PHP eval() function with the error control operator @, to prevent error messages and broken pages. So if you don’t see your PHP output it is probably because your code have mistakes.
And don’t forget to activate the “Evaluate with PHP” option, that is disabled by default.
Need help?
For help use the WordPress Support.
Also you can write a review.
Contribute development
If you like this plugin, give us a five stars rating clicking here.
If you make this plugin profitable, give us any Paypal donation clicking here.
