WordPress.org

Ready to get started?Download WordPress

Plugin Directory

functionsCapacitor

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.

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).

Result is always inserted at end. Plugin has priority 5. Most plugins use priority 10. This method is applied if post/page is displayed.

Examples

  • Tag cloud of popular posts tags, insert [fct wp_tag_cloud]
  • List of children pages of current page, insert [fct wp_list_pages="title_li=&child_of=%postID%&depth=1"]
  • List of category's recent posts with excerpts, insert [fct wp_get_recent_posts="category=X&fct:show_excerpt=1"] with X equal category ID number
  • List of categories without default category, insert [fct wp_list_categories="title_li=&exclude=%defaultcatID%"]

Requires: 3.0.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-25
Downloads: 832

Ratings

5 stars
5 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

0,1,0 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1