Açıklama
This plugin helps you to execute custom php codes in your wordpress posts and widgets. Only codes that has been approved by admin can be used for executing php codes in pages or widgets any new code is first shown to admin prior to it’s execution on the front end.
Ekran Görüntüleri
Copy customphpcodes folder in /wp-content/plugins/
directory.Simple click to activate the plugin. Open Custom PHP Codes -> Custom Settings page to configure the plugin. Enable the features of plugin to Only allow admin enabled queries on front end and to Save custom PHP Codes in database. Now place your custom php code using following tags [php_code] [/php_code]. Now preview your code on the front end although it will not display your code but it will log for approval by admin. Please note : Your code will not execute nor it will be visible on front end but it will be logged for admin approval. Now open Custom PHP Codes -> Custom PHP Codes to allow your custom php code for execution. Allow your Custom PHP Codes for execution. Now your Custom PHP Codes will excute and it’s results will be visible on front end.
Yükleme
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/customphpcodes
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Custom PHP Codes -> Custom Settings to configure the plugin
- In your posts or widget place your php code with following tags [php_code] Your Code Here [/php_code]
- Now preview your custom php code of your widget or post in front end to log it for approval in admin panel.
Please note : Your code will nor execute and nor it will be visible on front end but it will be logged for admin approval. - Use the Custom PHP Codes -> Custom PHP Codes to allow your custom php code to execute on front end.
- Your Custom PHP Code should be visible on front end.
SSS
- What’s the sytax to enclose custom php code ?
-
You can enclose your custom php code in following tags [php_code] [/php_code]
- I can’t find my custom php code to allow in Custom PHP Codes page , how can I add it here ?
-
It would be added automatically once you preview your custom php code enclosed in tags on front end, although it will not execute nor it will be visible on frontend but it will be logged for approval on Custom PHP Codes Page.
İncelemeler
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“Plugin Name: Custom PHP Codes” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“Plugin Name: Custom PHP Codes” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.0
- Support for Posts & Widgets
- Enhanced Custom PHP Codes Log for admin to allow/disallow codes for execution.