Skip to content

pp19dd/Include-custom-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

----------------------------------------------------------------------------------------
WordPress plugin: include custom fields inside a post.
Project page: http://pp19dd.com/wordpress-plugin-include-custom-field/
Author: pp19dd.com / twitter.com/pp19dd / pp19dd atgmail.com
----------------------------------------------------------------------------------------

This is a shortcode that lets you include RAW html inside pages, posts and widgets from 
its custom fields. 

To use, create a custom field in the post (ex: "my table") and put this in a WP post:
	[include "my table"].
	
If needed, you can perform global includes from other posts this way:
	[include global="my table"]

Warning/extra feature: shortcodes can be recursive. If you have these custom fields:
	Name	Value
	"One"	First sentence.
	"Two"	Second sentence.
	"Three"	Test [include one two] ing.

Putting [include three] in a WP post will produce:
	"Test First sentence. Second sentence. ing."		


Changelog

2011-11-01 Version 1.3

* Added configuration option for reprioritizing shortcode filter (fixes syntax highlighters, etc.)

2011-11-01 Version 1.2

* Added configuration option for recursive processing

2011-10-31 Version 1.1

* Added a configuration screen
* Added an option to process shortcodes inside text widgets 
* Added a PHP command line script to import any STDIN into WP custom field

2011-10-27 Version 1.0

* First version, wheee

About

WordPress plugin to include custom fields inside a post

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages