by Olivier D. aka oliezekat on WordPress.org
This plugin allow to apply some WordPress API's functions into your post/page content or as a widget.
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.
Three methods to use WordPress API functions :
Insert a tag into your content like [fct function_name=”parameter1=value¶meter2=value”].
One shortcode tag can request several functions, input [fct function_name1=”arguments” function_name2=”arguments”].
Add a functionsCapacitor widget, select a function, input function parameters like “parameter1=value¶meter2=value” (without quotes).
Optional: choose a supported conditional function to decide where to display your widget.
Set a custom field name with function name and put function arguments into custom field value like “parameter1=value¶meter2=value” (without quotes).
Any functionsCapacitor request will insert .
Shortcode method allow to personalize main container like
[fct container=”HTML tag name” class=”class(es) name(s)” style=”CSS properties” function1=”args” function2=”args”].
set container=”” to remove main container.
Some functions output were inserted with dedicated container like
or .
Personalize this container with Special functions parameters.
Follow these examples to setup your requests :
Not supported issues :
Use these keywords to obtain variables values into your functions arguments :
You can use magic keywords into an array.
Example: wp_list_categories=”exclude=array(%defaultcatID%,1,2,…)”
functionsCapacitor not create a container if the API function still return a container.
See WordPress Codex to personalize them.
See WordPress Codex about these functions and their arguments syntax.
Need you to support more functions, mail to oliezekat@yahoo.fr
See WordPress Conditional Tags about these functions and their arguments syntax.
These functions are designed for this plugin only, not available elsewhere, and not documented into the WordPress Codex.
Support only arguments as single value ; string, numeric, or magic keyword.