I too had a question about this. Luckily, Chris_O answered it for me. You may also want to check out this question, too.
Here’s an example of what I’ve done with meta boxes and you can see it’s quite easy.
Related Posts:
- Why is wp_head() creating a top margin at the top of my theme header?
- How To Add New Option Types To Option Tree?
- How to limit wordpress menu depth in admin panel
- How can I set image sizes and still have responsive images using the srcset attribute?
- Possible to “Attach” images to multiple posts without inserting or uploading twice?
- Trigger Customizer saving process with Javascript only
- Remove settings if theme is deleted?
- Adding customizer styles with wp_add_inline_style
- Comment form not display properly?
- How to add menu support to a theme?
- Adding widgets programatically: how to avoid collisions?
- Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying
- Efficient WordPress Development Workflow Help?
- Replace #site-title with resizable image in Twenty Twelve? [closed]
- Installing WordPress Theme Unit Data
- How can I remove the Static Front Page option from the Customizer
- Settings API enable default settings on theme install?
- Fatal error: Maximum execution time of 60 seconds exceeded in H:\wamp\www\custom\wp-includes\class-wp-http-curl.php
- How to allow admins to create a sidebar from the admin
- Change date number to another language/script?
- Setting a Default ‘Theme Location’ When Creating a Menu
- How to keep my custom theme changes after updating genesis child theme
- Custom php page in WordPress theme?
- Can I specify that custom.css gets loaded at Appearance > Editor instead of style.css?
- Can’t access WordPress functions in file called via Ajax?
- Check if password protected post is visible
- Second menu not showing
- Custom Template for more than 1 Tag
- Same theme name issue with wordpress repository theme
- Compact pingback list with favicons
- Change the template of multiple multisite pages at the same time
- Show video as part of the post?
- How to add theme support?
- Parse error: syntax error, unexpected T_ENDWHILE in
- Multiple Page Templates & CSS
- Divi Child Theme not appearing in “Themes” [closed]
- I need to know how to structure my WordPress theme
- Featured Images are not able to be set
- Where can i design and modify a new mail template for sending emails to users when commenting?
- Single-level menu option? Another way?
- Problem with empty class attributes when running a filter on nav_menu_css_class
- Limitations when modifying wp_title with a filter
- Pass variable to hook. Its possible?
- Font Awesome 5 Free – far working but fas is not? [closed]
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- The ‘default’ attribute from $wp_customize->add_setting() method not in db?
- How to remove header image in Twenty Eleven theme?
- How to create a fixed header and scrolling content area
- Is there any tool to find lines of codes responsible to generate front-end HTML elements?
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- Have the homepage look different to index.php without a static page
- is_home and is_frontpage always true
- WordPress linking
- wp.media issue with selected image
- Why does admin-ajax load slow and what are ways to speed it up?
- How to style bootstrap container in wordpress theme?
- Wamp Server error on running wordpress theme on localhost. How do I fix this error? [closed]
- Shortcodes do not work in own template
- Adding Bootstrap to WordPress TwentySixteen Theme
- What are the allowable Tags values in a theme file header?
- $_POSTing to and modifying the WP search results page
- Confused by the behaviour of “front page” / “home” templates
- Following/tracing page construction through theme PHP
- How to Grab first Image from some Chosen Categories
- Get themes’s images path in WordPress Multisite
- Get video from the post on homepage
- altering search terms
- Creating a theme update notification api [duplicate]
- Custom menu: Link names
- WordPress Themes Directory: Template which hits the standards?
- Inconsistent bloginfo information
- get_the_terms() returning wrong results inside of loop
- Category-specific loop not working
- get_avatar() is not working in my custom theme
- How to diagnose wp-env environment problem
- When I save changes for css and js in my WP localhost env windows 10 the changes don’t take effects immediately!
- Updatable theme developing
- SIte logo is not displaying
- makeing a terms of use page that is part of the theme
- How to make menus, footer, sidebars multi language
- Unable to delete option
- overlay post title over post’s featured image
- Child theme in separate WordPress Install
- Display problems in admin dashboard when creating a new theme from scratch
- Hook in parent theme Menu function
- How to add custom nav_menu_css_class to certain menu only?
- Using Customizer value in an external PHP file inside a theme
- How to avoid Ajax in wordpress theme in making mulitple request?
- Import from HubSpot COS into WordPress 4?
- WordPress 3.5 + Foundation 5 not working on IE9
- Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix
- Using wp_enqueue_script with social media buttons?
- Want to include ad code after related post
- Conditional tags issue for multiple is_page() conditions in sidebar.php
- How can disable function wp_link_dialog()
- Pagination adds product to cart Woo-Commerce
- Onepage with shortcodes
- Allowed memory size of (…) exhausted
- Twenty sixteen – full height
- How to Enable Hot Module Replacement with Webpack