Another Custom Fields Example
Posted by jay on Apr 04, 2021 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!
Attachments:
- monument-valley-road.jpg (233 KB)
1 comment
Comment from: mary Member
This post has 1 feedback awaiting moderation...
Hi!
This is a sample comment that has been approved by default!
Admins and moderators can very quickly approve or reject comments from the collection dashboard.