Updated! New media manager, HTML5 inputs & new space efficient table view

Simple Fields version 1.2 has just been released. Some nice things to mention with this release:

  • Support for the new media manager that was introduced in WordPress 3.5 has been added
  • Fields can now be added to attachments
  • The settings pages is now a bit nicer and more WordPress-ish loooking. Also has more useful info added to them. Oh, they are really nice indeed.
  • There is a new (but optional) space efficient table view
  • Placeholders can be added to text and textarea fields
  • Fancy HTML5 input types have been added as sub types to the text field
  • Lots of filters added, making it possible to customize Simple Fields using plain PHP. Like choosing a post connector for a post based on it’s post type or what categories it belongs to. Cool stuff.

Continue reading

Get maximum number of attached fields to any post

In a recent project I needed to get the maximum number of attached files to any post. The files were of course added to my posts by using Simple Fields and a repeatable field group.

Since this was the first time I’ve ever needed to do this, there was no built in functions for this.

Anyway, turned out to be pretty straightforward. The solution for me was this: Continue reading

New table view coming to next version of Simple Fields

This is a little sneak preview of something I am working on right now: the option to have fields outputted in a more space efficient and less cluttered view. It’s very suitable when you have a few fields that are repeatable, like this image example with image fields and text fields will show:

creenshot of new table view in Simple Fields. Image shows that more fields are visible at the same time.

Twice the amount of cats in the same area size! Not bad. Stay tunes for this small but great update in an upcoming version of Simple Fields.

Simple Fields and WordPress 3.5

Recently the WordPress team released version 3.5 of WordPress. This version feature – among many other things – a great redesign of the add media popup.

So, does Simple Fields work with WordPress 3.5? Quick answer is “yes”, while the long answer is: “yes, but you’ll be stuck with the old media popup for a while”. Continue reading