custom-fields.php
61 lines
| 1 | <p> |
| 2 | <?php _e( "The custom field column uses the custom fields from posts and users. There are 14 types which you can set.", 'codepress-admin-columns' ); ?> |
| 3 | </p> |
| 4 | <ul> |
| 5 | <li> |
| 6 | <strong><?php _e( "Default", 'codepress-admin-columns' ); ?></strong><br/> |
| 7 | <?php _e( "Value: Can be either a string or array. Arrays will be flattened and values are seperated by commas.", 'codepress-admin-columns' ); ?> |
| 8 | </li> |
| 9 | <li> |
| 10 | <strong><?php _e( "Color", 'codepress-admin-columns' ); ?></strong><br/> |
| 11 | <?php _e( "Value: Hex value color, such as #808080.", 'codepress-admin-columns' ); ?> |
| 12 | </li> |
| 13 | <li> |
| 14 | <strong><?php _e( "Counter", 'codepress-admin-columns' ); ?></strong><br/> |
| 15 | <?php _e( "Value: Can be either a string or array. This will display a count of the number of times the meta key is used by the item.", 'codepress-admin-columns' ); ?> |
| 16 | </li> |
| 17 | <li> |
| 18 | <strong><?php _e( "Date", 'codepress-admin-columns' ); ?></strong><br/> |
| 19 | <?php printf( __( "Value: Can be unix time stamp or a date format as described in the <a href='%s'>Codex</a>. You can change the outputted date format at the <a href='%s'>general settings</a> page.", 'codepress-admin-columns' ), 'http://codex.wordpress.org/Formatting_Date_and_Time', admin_url( 'options-general.php' ) ); ?> |
| 20 | </li> |
| 21 | <li> |
| 22 | <strong><?php _e( "Excerpt", 'codepress-admin-columns' ); ?></strong><br/> |
| 23 | <?php _e( "Value: This will show the first 20 words of the Post content.", 'codepress-admin-columns' ); ?> |
| 24 | </li> |
| 25 | <li> |
| 26 | <strong><?php _e( "Has Content", 'codepress-admin-columns' ); ?></strong><br/> |
| 27 | <?php _e( "Value: This will show if the field has content or not.", 'codepress-admin-columns' ); ?> |
| 28 | </li> |
| 29 | <li> |
| 30 | <strong><?php _e( "Image", 'codepress-admin-columns' ); ?></strong><br/> |
| 31 | <?php _e( "Value: Should contain one or more Image URLs or Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?> |
| 32 | </li> |
| 33 | <li> |
| 34 | <strong><?php _e( "Media", 'codepress-admin-columns' ); ?></strong><br/> |
| 35 | <?php _e( "Value: Should contain one or more Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?> |
| 36 | </li> |
| 37 | <li> |
| 38 | <strong><?php _e( "Multiple Values", 'codepress-admin-columns' ); ?></strong><br/> |
| 39 | <?php _e( "Value: Should be an array. This will flatten any ( multi dimensional ) array.", 'codepress-admin-columns' ); ?> |
| 40 | </li> |
| 41 | <li> |
| 42 | <strong><?php _e( "Number", 'codepress-admin-columns' ); ?></strong><br/> |
| 43 | <?php _e( "Value: Integers only.<br/>If you have the 'sorting addon' this will be used for sorting, so you can sort your posts on numeric (custom field) values.", 'codepress-admin-columns' ); ?> |
| 44 | </li> |
| 45 | <li> |
| 46 | <strong><?php _e( "Post", 'codepress-admin-columns' ); ?></strong><br/> |
| 47 | <?php _e( "Value: Should contain one or more Post IDs, separated by commas.", 'codepress-admin-columns' ); ?> |
| 48 | </li> |
| 49 | <li> |
| 50 | <strong><?php _e( "True / False", 'codepress-admin-columns' ); ?></strong><br/> |
| 51 | <?php _e( "Value: Should be a 1 (one) or 0 (zero).", 'codepress-admin-columns' ); ?> |
| 52 | </li> |
| 53 | <li> |
| 54 | <strong><?php _e( "URL", 'codepress-admin-columns' ); ?></strong><br/> |
| 55 | <?php _e( "Value: Should contain a URL.", 'codepress-admin-columns' ); ?> |
| 56 | </li> |
| 57 | <li> |
| 58 | <strong><?php _e( "User", 'codepress-admin-columns' ); ?></strong><br/> |
| 59 | <?php _e( "Value: Should contain one or more User IDs, separated by commas.", 'codepress-admin-columns' ); ?> |
| 60 | </li> |
| 61 | </ul> |