You could also use Advanced Custom Fields Plugin. It allows you to create whatever type of field you wish, and then adds it to posts or pages (or both). After that, it is pretty simple to call within the wordpress loop.
Related Posts:
- Organizing Code in your WordPress Theme's functions.php File?
- Disable dragging of meta boxes?
- Taxonomy dropdown metabox in the back-end
- Limit widget to certain sidebar?
- Highlight custom widgets in the admin area?
- Change the link of ‘Howdy’ at the top right
- Delete Post From front Page ( With Wp-admin restriction )
- Hide a page in the admin end without a plugin?
- Prevent from deleting any user role but subscriber
- Set “Display name publicly as” to be usernames by default
- Color picker for posts and pages
- lock meta box position on post edit screen for contributors
- special characters after saving draft interpreted as �
- Automatically exclude categories from metabox based on title
- Create custom fields as image uploads [duplicate]
- Is there a quick way to find out what posts haven’t been tagged?
- “WordPress installations is currently out of date” problem with difficult situation [closed]
- meta box on new admin page
- Dashboard : remove Safari navigator message
- Make separate text boxes for separate WordPress Custom Fields
- How to Fix WordPress Not Saving Settings?
- Google flagged a wp-admin redirect as phishing
- Undeletable posts, users or other content
- Wp doesn’t save meta box data
- How to check if a user is in a specific role?
- Can I rename the wp-admin folder?
- How do I Enqueue styles/scripts on Certain /wp-admin Pages?
- How to remove admin menu pages inserted by plugins?
- Changing Admin Menu Labels
- Adding custom columns to custom post types
- Adding Fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?
- adding custom stylesheet to wp-admin
- Can’t change language (only “English (United States)”)
- Is there ANY way to remove comments function and section totally?
- How to use “menu_order” field for posts?
- How do i best handle custom plugin page actions?
- “Too many redirects” ONLY when trying to access wp-admin page
- How to restrict dashboard access to Admins only?
- Admin Page Redirect
- Toggle admin metabox based upon chosen page template
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- When moving a WP site, why does wp-admin redirect to old site?
- How to disable the “Post Lock/Edit Lock”?
- adding the category to the admin column for a custom post type?
- How can we make managing lots of pages in WordPress Admin better?
- Change page title in admin area
- do_shortcode() within Admin Page
- How can I control the position in the admin menu of items added by plugins?
- Changing the ‘wp-admin’ URL to whatever I want
- Unit testing in the WordPress backend (is_admin() is true)
- Admin ajax request return 0 with die()
- How to prevent access to wp-admin for certain user roles?
- How to remove screen options and help links in the admin area?
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- How to remove the core embed blocks in WordPress 5.6?
- How to increase the file size limit for media uploads?
- Create WP tutorial for users with admin pointer using next button for navigation
- How To Remove The “+ Add New Category” Link From A Category Metabox
- I’m getting a 404 message when I try to access wpadmin
- wordpress wp-admin css not loading
- Sort admin menu items
- How to order by post meta name in wp admin?
- How set defaults on wpLink()
- Remove dashboard, use Pages tab as default
- Make Custom Metaboxes Collapse by Default
- How to redirect/rewrite all /wp-login requests
- Show all post tags on post edit screen/sidebox
- How to hook in and modify the new revisions UI (3.6+)?
- How to display a static HTML page while setting up a WordPress site?
- How can I uninstall a language?
- Check if user is admin by user ID
- My wordpress site gets redirected automatically to the old site any known solution for this?
- Best way to present options for home page in admin?
- Using TinyMce with textareas in meta boxes on custom post types
- How to force one column layout on custom post type edit page?
- Use a different domain for SSL
- Remove specific items from Quick Edit menu of a Custom Post Type?
- How to filter by post-format in admin?
- Removing Metabox for “Slug” without removing functionality
- Making Custom Fields Standard in the Admin UI
- Unable to login to my wordpress site. reauth=1 redirection loop
- Add “external” link to admin menu in the backend
- How to Layer 7 Load Balance WordPress Backend and Frontend?
- Prevent sorting and dragging of specific postbox metabox
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- Disable image attachment links
- How can I improve the line break handling in the WYSIWYG editor?
- wp_list_tables bulk actions
- Custom column for changing post status via ajax
- How do I change the login logo URL and hover title?
- Custom login redirects to wp-admin on wrong password
- How to remove comments option from wp-admin bar and modify profile icon
- Remove “Time to upgrade” message from dashboard
- Add header and footer to WP backend
- js error on post editing page
- How to search post by ID in wp-admin
- Remove ‘Custom..’ option in tinyMCE colour swatch
- sortable custom column in media library
- How to add a custom metabox to the Menu Management admin screen?
- how do I force a single column layout in screen layout