

Custom Fields on Editor
Manage custom post types, custom taxonomies, and custom fields plus essential security hardening in one simple WordPress plugin.
Features:
– Custom Post Types: Create and manage custom post types with unique slugs, menu icons, and capabilities.
– Custom Taxonomies: Create hierarchical or non-hierarchical taxonomies and link them to any post type.
– Custom Fields: Add custom fields to posts, including text fields, image uploads, URLs, and more.
– Repeating Fields: Supports repeating fields for text, images, and other field types.
– Flexible Display Options: Control the display order, position, and priority of custom fields in the post editor.
– Field Background Colors: Set background colors for custom fields to visually distinguish fields in the post editor.
– Security: Harden your site with login page protection, maintenance mode, and more.
– Thumbnail Support: Add thumbnails to the post admin list for selected post types.
LIQUID BLOCKS plugin for easy to get field data.
Custom field block allows you to output custom field data with no code.
Supports block editors and block themes.
Another way, Get field data securely using WordPress core functions.
get_post_meta( $post->ID, 'key', true );
$key = get_post_meta( $post->ID, 'key', true );
foreach ( $key as $value ) {
echo esc_html( $value );
}
wp_get_attachment_url( get_post_meta( $post->ID, 'key', true ) );
$key = get_post_meta( $post->ID, 'key', true );
foreach ( $key as $value ) {
echo wp_get_attachment_url( esc_html( $value ) );
}