Plugin info

Total downloads: 1,781
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/30/2014 (4353 days ago)
Added to WordPress: 1/30/2014 (11 years old)
Minimum WordPress version: 2.7.0
Tested up to WordPress version: 3.8.0
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4353 days ago

20/100

Is insert abandoned?

Possibly abandoned (last update 4353 days ago).

Compatibility

Requires WordPress: 2.7.0
Tested up to: 3.8.0
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Insert Pages
Rating 4.8/5 (70 reviews)Active installs 40,000
HTML5 Swiffy Insert
Rating 5.0/5 (1 reviews)Active installs 40
ER Swiffy Insert
Rating 5.0/5 (1 reviews)Active installs 20
ER SourceForge Stats
Rating 0.0/5 (0 reviews)Active installs 0
Title and Nofollow For Links (Classic Editor)
Rating 4.5/5 (23 reviews)Active installs 30,000
Embeds for YouTube
Rating 4.2/5 (24 reviews)Active installs 10,000

Description

Usage

Use the [insert] shortcode inside posts or anywhere else that processes shortcodes.

[insert] shortcode attributes

  • query – sets up a new WP_Query via get_posts()
  • data – data to pass to actions
  • action – action to run, runs for each post if applicable
  • filter – filter to run, runs for each post if applicable
  • template – template to load via locate_template()

All attributes are optional and can be used in combination to yield powerful abilities.

Abilities

Possibilities with [insert] are endless. Practical uses include:

  • Insert posts into posts
  • Insert hooks into posts
  • Insert posts into widgets
  • Run action hooks via widgets
  • Load templates via widgets

Examples

Insert a template

`

[insert template=”branding.php”]
`

Insert an action

`

[insert action=”dostuff”]
`

Pass data to an action

`

[insert data=”field=slug&value=example&tax=category” action=”dostuff”]
`

The action receives data as an array.

`

add_action(‘dostuff’, ‘print_r’);
`

Insert a page via template

`

[insert query=”name=about&post_type=page” template=”entry.php”]
`

Insert a page via action

This sets up the query and triggers the action.

`

[insert query=”name=about&post_type=page” action=”dostuff”]
`

WP template tags are available inside the action.

`

add_action(‘dostuff’, ‘the_title’);
`

Github

Installation

Requires: PHP 5.3+

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

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available