We’re pleased to announce a brand new plugin release today:
FieldPiG – WordPress Custom Field Shortcodes Plugin
I wanted to be able to dynamically include data from any custom field in my post inside the actual post content.
This plugin lets you do just that by adding the name of the custom field that contains your content between the [fp]fieldname[/fp] shortcodes.
FieldPiG was extremely useful when I imported large CSV files into CSVPiG. I could use it to include the contents of custom fields inside the body field by just specifying the column header between shortcodes.
Imagine I had the following custom fields in WordPress
Then we could have a post template that looked something like this:
Forget the plot, the real delight is the army of oddballs that rotate around the gamine Miss Tautou. Hypochondriac tobacconists, tyrannical grocers,kindly strippers, failed writers, all human life is here thanks to <a href="[fp]affiliate_link[/fp]">Jean-Pierre Jeunet’s</a> stock company of character actors. With so many colourful eccentrics and unlikely subplots, it’s perhaps inevitable that it is episodic and fractured. But this is a small price to pay for a
film guaranteed to put a smile on your face and a chanson in your coeur.
In French with English subtitles.
Available on [fp]media[/fp]
Running time – [fp]lenght[/fp]
Rating – [fp]rating[/fp]/10
Price – [fp]price[/fp]
<a href="[fp]affiliate_link[/fp]">BUY NOW</a>
As you can see the customisation options are extensive and you really can let your imagination run wild.
If you’re using the latest version of CSVPiG Pro you probably won’t need FieldPiG as the brand new post templating options already let you include custom fields directly into multiple post templates!
Have a play and let me know what you think. If you need any additional features added just let me know!
You can download FieldPiG for free from the BlogPiG members area.
Next week we’ll (finally!) be releasing TagPiG Pro with the new tag archived posts feature! Stay tuned.
All the best