Linux 软件免费装
Banner图

functionsCapacitor

开发者 oliezekat
更新时间 2014年10月30日 00:49
PHP版本: 3.0.1 及以上
WordPress版本: 4.0.0

标签

post widget posts links page pages categories shortcode content multisite api wpmu multi-site archives wpms wordpressmu codex

下载

0.9.4 0.8 0.9 0.9.2 0.9.3 0.9.5 0.9.6

详情介绍:

Back WordPress API to the content.
You can request some* functions of WordPress API with same syntax for arguments into your posts, pages, or widgets content. functionsCapacitor will insert function result into your content as HTML output. (*) see Supported functions or conditional tags. Features Three methods to use WordPress API functions : Method by shortcode tag Insert a tag into your content like [fct function_name="parameter1=value&parameter2=value"]. One shortcode tag can request several functions, input [fct function_name1="arguments" function_name2="arguments"]. Method with a widget Add a functionsCapacitor widget, select a function, input function parameters like "parameter1=value&parameter2=value" (without quotes). Optional: choose a supported conditional function to decide where to display your widget. Method by custom fields Set a custom field name with function name and put function arguments into custom field value like "parameter1=value&parameter2=value" (without quotes). Examples

安装:

  1. Upload functionscapacitor.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

常见问题:

Is it safe ?

Yes ! And you can install functionsCapacitor on WPMU or WPMS.

  • functionsCapacitor not execute or eval users input (function name or arguments).
  • functionsCapacitor output is managed by WordPress itself, and related to users role. Example: wp_list_pages() function will not return private pages if current user is anonymous.

How come from functions capacitor idea ?

I was standing on my chair in front of the computer, I was copy-paste a hack into a template, the desk was wet, my mouse slipped, right button hit the flowerpot, and when I saw the result on screen I had a revelation ! A vision ! The functions capacitor !

D'où vient l'idée du convecteur de fonctions ?

J'étais assis devant mon ordinateur, j'allais copier-coller un hack dans un template, le bureau était mouillé, ma souris a glissé, le bouton-droit a heurté le pot de fleurs, et en voyant le résultat à l'écran j'ai eu une révélation ! Une vision ! Le convecteur de fonctions !

更新日志:

0.9.6 0.9.5 0.9.4 0.9.3 0.9.2 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1