I checked out the code that you posted and didn’t find any issues. I then copied it into my theme’s functions.php, it worked for me. Both text areas appear, and data can be saved.
Related Posts:
- Functions containing parameter ‘yourtheme’
- WordPress activate theme error $pagenow
- Link to specific Customizer section
- Best practices for a Style/CSS based theme options page?
- How to use media upload on theme option page?
- Add a page outside of the current theme?
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- A minimalistic admin theme for a WP 3 install
- Switch Theme Through Options Panel
- How to make alert for new version on theme options?
- How get Themes list via REST api?
- How to mark an option as selected
- How can I show more than 15 themes at a time in the admin menu?
- How to go about pre generating css file with variables from theme options
- Does uninstalling a WordPress theme delete its database values?
- Cannot find the code for “Edit This” link in posts in a specific theme
- Defining different theme for Blog posts page
- How to set different settings for a mobile theme?
- Disable Theme API / Front end (for API only environment)
- What’s the proper way to include inlined javascript-source?
- How to understand a specific bit of WordPress syntax
- Should a child theme share the same theme options row as the parent, or should it have it’s own options row?
- How Do I Use A Custom Mobile Theme?
- How can I make some themes usable only by admins?
- Custom options below pages/posts editor?
- Redux callback action
- Preserve theme settings when migrating from local to live
- What is the “pub” theme? [closed]
- Passing dynamic options from backend to frontend
- Color Options from Theme Customizer API not returning via get_theme_mod()
- Issue with theme mod options during domain migration
- .PO file is found but I don’t see translations: how to debug the problem?
- How to add some php code in header.php using plugin
- Setting a new default template for the creation of a page
- Cannot update a file for my theme
- List of categories instead of dropdown menu selector in admin options
- Using DePo Masthead with WP 3+
- Why does an ad page open when I browse my websites’s wp-admin page?
- Switching among theme customizations
- Theme seems to be preventing me from adding a new page to my site
- Does anyone know where to find the area to edit this text
- How to change WordPress theme outside of admin? Can’t access dashboard
- Default and warning messages & no login
- how to create a section inside a section with theme options customizer
- WordPress theme is not displayed properly on other computers
- Warning: call_user_func() expects parameter 1 to be a valid callback
- Create /archive page in WordPress Theme
- Church hope them issue
- Starter Theme vs Parent Theme? Pros and cons
- Reordering themes in admin panel
- Looking for a way to load a function after customizer preview refresh complete
- Why is there no global function in wordpress to return the output of any function call?
- Visually change theme via query string?
- What does the term “bundled-theme” mean?
- Exclude file from theme editor
- Child theme does not appear in theme selection
- Find proper “text domain” within theme
- Does theme update also update a child theme zip
- Help with WordPress Query
- Inject widgets from one sidebar into another with PHP
- Where all are child themes recorded when they are created in WordPress
- An unexpected error occurred. Something may be wrong with WordPress.org
- Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10)
- how to remove category nav from Bueno (WordPress Theme) header [closed]
- ‘Add New’ button not present [closed]
- How to style the post previews/links without it affecting the main posts?
- translation does not work for ‘Home’
- How to translate a string that contains a WordPress sitename
- Is that a malicious code?
- How can my user make their own Blog/Diary
- Where do I find (free) fully-internationalized themes? [closed]
- How to trace and resolve a theme problem such as flickering links in WordPress? [closed]
- why need theme,if page builder is there in wordpress [closed]
- Child theme looks different from parent theme, and incorrectly displays parts
- Adding an extra sidebar to your theme
- Widgets not showing on sidebars
- Create Custom Attachment Template That is Processed from Plugin Folder?
- How would I got about calling a php file every time someone publishes a new post?
- Custom theme – pages in menu
- Flexslider in child theme
- How to edit the default comment title?
- Why my function.php file in theme delete automatically? [closed]
- How to reverse the pagination numbers of an archive?
- Theme translates the_author_posts_link. How can I remove their translation?
- Theme CSS missing completely
- How to implement this layout?
- WordPress customizer extremely slow, cant work in it
- Missing privacy policy checkbox on login page (using Enfold theme)
- Themes don’t show up in the dashboard -> Appearance -> Themes
- Let custom text widget use the same font as the theme
- How to show taxonomy in WordPress shortcode
- “Template is missing” install error on non-child theme
- No “available widgets” (wordpress 3.2.1 multisite)
- How to create a second index.php?
- Lightword Theme – only one menu item
- how to use Easy Docs theme to write a book?
- 2 WP websites same content different themes
- How is WordPress child related to Buddypress child theme
- Define a Custom Template Part As A Widget Area
- Changing Sidebar In 2023 Theme