custom-fields.php
3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<p>
<?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' ); ?>
</p>
<ul>
<li>
<strong><?php _e( "Default", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Can be either a string or array. Arrays will be flattened and values are seperated by commas.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Color", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Hex value color, such as #808080.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Counter", 'codepress-admin-columns' ); ?></strong><br/>
<?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' ); ?>
</li>
<li>
<strong><?php _e( "Date", 'codepress-admin-columns' ); ?></strong><br/>
<?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' ) ); ?>
</li>
<li>
<strong><?php _e( "Excerpt", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: This will show the first 20 words of the Post content.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Has Content", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: This will show if the field has content or not.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Image", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should contain one or more Image URLs or Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Media", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should contain one or more Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Multiple Values", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should be an array. This will flatten any ( multi dimensional ) array.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "Number", 'codepress-admin-columns' ); ?></strong><br/>
<?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' ); ?>
</li>
<li>
<strong><?php _e( "Post", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should contain one or more Post IDs, separated by commas.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "True / False", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should be a 1 (one) or 0 (zero).", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "URL", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should contain a URL.", 'codepress-admin-columns' ); ?>
</li>
<li>
<strong><?php _e( "User", 'codepress-admin-columns' ); ?></strong><br/>
<?php _e( "Value: Should contain one or more User IDs, separated by commas.", 'codepress-admin-columns' ); ?>
</li>
</ul>