Display Custom Fields

Inserts a Wikipedia-like metabox into posts with all the post's associated custom fields and taxonomy terms.

Author:Benjamin J. Balter (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:3.4.1
Plugin version:0.1
Added to WordPress repository:15-01-2012
Last updated:15-01-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:20
Rated by:1
Plugin URI:
Total downloads:1 205
plugin download
Click to start download

This plugin will work, "as is", out of the box, but assumes some level of CSS and developer customization to adapt to your site's specific needs.

Styles can be overridden via your theme's style.css

Functionality can be overridden via your theme's functions.php

''Examples''

Don't display metabox on "product" post type:

add_filter( 'display_custom_fields', 'bb_no_product_metabox' );

function bb_no_product_metabox( $true, $post ) {
  if ( $post->post_type == 'product' )
    return false;

  return true;

}

Don't display the product_id metakey

add_filter( 'dcf_postmeta', 'bb_no_product_id' );

function bb_no_product_id( $postmeta ) {
  unset( $postmeta['product_id'] );
  return $postmeta;
}

Don't display metabox title

add_filter( 'dcf_heading', '__return_false' );

Display metabox below content (rather than floated to the right)

add_filter( 'dcf_before_content', '__return_false' );

ChangeLog