Another Custom Fields Example
Posted by Yossarian on Aug 24, 2020 in Background
This post has a special post type called "Post with Custom Fields".
This post type defines 4 custom fields. Here are the sample values that have been entered in these fields:
Image 1 | |
---|---|
First numeric field | 123.45 |
First string field | abcdef |
Second numeric field | 456 |
Multiline HTML field | This is an HTML field. |
Multiline plain text field | This is a sample text field. It can have multiple lines. This is an extra line. |
URL field | http://b2evolution.net/ |
USD Price | $ 17.50 |
EUR Price | 14.95 € |
Checkmark field | n/a |
Numeric Average | 289.725 |
It is also possible to selectively display only a couple of these fields:
First numeric field | 123.45 |
---|---|
First string field | abcdef |
Second numeric field | 456 |
Finally, we can also display just the value of a specific field, like this: abcdef.
It is also possible to create links using a custom field URL: Click me!