This plugin has been closed and is no longer available for download.

Magic Fields 2


Magic Fields 2 is a WordPress CMS plugin who is focused in improved the way how are created the custom fields, post types and custom taxonomies in wordpress.

In Magic Fields existed 15 pre-build types of custom fields

**NOTE: Magic Fields 2 IS NOT backward compatible with MF1 **

Old contributor: Gnuget


  • Creating a new custom field.
  • List of post types and custom taxonomies


Follow this steps to install MF2

  1. Download the plugin into the /wp-content/plugins/ folder
  2. Activate MF2


Awesome tool

This plugin is really useful, it can help you create and control custom fields for custom post types the easy way.

New version doesn't work with images

After install new version, This code

if (get('photos',$miembro)) {
				echo '<div class="gals">';
				echo '<a href="'.get_image('photos',$miembro,1,0).'" data-lightbox="example-set">'.get_image('photos',$miembro,1,1,NULL,$nuevos).'</a>';

was damage.
echo get_image('photos',$miembro,1,1,NULL,$nuevos);
doesn’t work!!! Why?

Read all 21 reviews

Contributors & Developers

“Magic Fields 2” is open source software. The following people have contributed to this plugin.

Translate “Magic Fields 2” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


  • fix problem with upload file field
  • fix problem with get_image and gen_image, sorry

  • Patch for mf_upload.php (sanitize input), thanks @robre

  • better way of handle error in image thumbnails
  • fix problem of maxlength in textbox
  • fixes for localization

  • Change text domain for localization ( )
  • minor fixes in css


  • fix in get data for image media (now use admin-ajax.php for request) , some server has aditional security for wp-content
  • fix warnigs in activate plugin
  • remove console.log, sorry


  • add verification in dispacher, add wpdb->prepare
  • add improvements and testing for WP 4.2.2


  • Fix #232 mf_register.php Warning on line 40
  • Add support for menu-icon for post type (Dashicons)
  • Update validate plugin (the previous version caused conflict in parts of WP)
  • Fixed for wp_load_image (deprecated funtion) in mf_front-end
  • Little fixes in menu post types

  • fix problem with editor, featured image and more
  • fix problem in delete item of custom post type

  • fix problem with quantity in register post type
  • fix alert when update post


  • fix for visual editor in WP 3.9


  • add static to public functions


  • Replace all .live for .on (jquery)
  • Fix issue #184 invalid html
  • Fix export import error see this page
  • Now in the term field appear also the new terms
  • Fix issue #176 Selectable variable name for a better workflow
  • Fix issue #165 If we set the post type as not public it disappears and can no longer edit it.
  • Fix issue #170 Error is not found posts ($post->ID)
  • Preparing for translations
  • Update markdownPReview, clean javascript data
  • Fix issue #170 JavaScript object ‘wp’ is not present on a lot of pages
  • Fix for ‘Uncaught ReferenceError: wp is not defined’
  • The text in confirm-dialogs when deleting an image, image-media, file
  • Labels ‘Add Another’ and ‘Remove’ in duplicatable groups and fields
  • Add new wp 3.5 media gallery (thanks alexandergryth)
  • Fixed for wp_load_image (deprecated funtion)
  • Fix for Notice: Undefined index: post_type
  • Fix for Undefined index div_class in checkbox quantity
  • Fix max-height in options panel in post type and taxonomies
  • Updating ui.datepicker.js to 1.8.24
  • Adding backward compatibility the media upload
  • Fix problem con new media upload of WP 3.5
  • Add index in mf_post_meta for upgardes and fix in name field of index
  • Fix in color picker for duplicate action
  • Compacting color picker
  • Fix issue #137 Quotes is breaking the text on textbox field
  • Fix issue #153 Extremely slow queries to wp_X_mf_post_meta
  • Fix issue #142 Custom post type image does not display thumbnail image in admin


  • Now is possible choice a page template per post (when the “page attribute” is checked in the post type configuration)
  • Post type unique, now is possible create post types with only one post, (useful for create static pages)
  • adding “set_front” option at the Post type configuration page
  • New field term type.
  • Issue #158.
  • Issue #139.
  • Update the Datepicker Plugin
  • Issue #118
  • And much more bugfixes


  • fixes for WP 3.3.x
  • fixes for Multiline field


  • First release