Like @LupuAndrei said, we lack of details, especially the code where you call you form from.
But I suspect, again like @LupuAndrei said, you might not be calling the settings_fields
, do_settings_fields
or do_settings_sections
correctly.
On the function where you build your form, try something like this
<form method="post" action="options.php">
<table class="form-table">
<?php
settings_fields( 'animated-settings-group' ); // This will output the nonce, action, and option_page fields for a settings page.
do_settings_sections( 'hoogleyboogley_animated' ); // This prints out the actual sections containing the settings fields for the page in parameter
?>
</table>
<?php submit_button(); ?>
</form>
Related Posts:
- Display random categories on the front page (Finding and Editing Theme Functions)
- TinyMCE custom styles remove class when switching styles
- How to remove howdy dropdown menu content
- Hook specific functions if on a specific admin page
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Getting the teaser text without overriding global variables
- Why a SlideShow (made using JQuery FlexSlider) can’t work if I load it form functions.php but work if I load it from my footer.php file? [closed]
- Why I can’t load my JavaScripts using an hook inside my functions.php file?
- How to add next height number in Order Attributes inside the Add new page. [duplicate]
- Random text changing to weird icons in both admin & front end
- Register a widget area when a theme option has been saved?
- Add custom css to theme
- How to get postId from the argument $block when register_block_type()?
- Setcookie not setting cookies anywhere except admin
- How to use webpack in WordPress theme? I want some scripts to load in the footer, some in the header and some with script parameters
- Add dynamic links in WordPress custom theme
- WordPress website Rs changed to currency symbol
- WordPress menu link doesn’t work properly
- Two Types of settings in WP – The Doubt
- Move ‘current-menu-item’ class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen
- Search filter by Post title OR Meta Title Value [duplicate]
- How to auto refresh when user change postcode
- how can I edit flexslider in woocommerce. [Urgent]
- Sections and tabs DRY – WordPress settings API
- Is there an alternative to get_template_directory_uri()?
- create filter in functions.php
- admin-ajax.php + load-scripts.php hanging for minutes
- Add Custom Background Properties to Customizer
- What is the correct way of updating wordpress options
- Functions in custom theme
- How to install Segment on WordPress without a plugin
- enqueue styles for only mobile wp
- Jquery implementation not working on page reload
- Parse error after modifying the template menu [closed]
- Get First Child Page ID or Permalink in WordPress Admin
- Unique sequential reservation code
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Creating A New Admin Menu Tab For Theme Options
- How to call particular funcion when the check box is checked in plugin options page
- Usage of theme name in functions
- WordPress PHP Conflicting User Sessions
- Move Custom Fields on General Settings Page to New Location
- How do I link a button I created in theme customizer to a function?
- wp-admin won’t load after setting wp-login custom url
- Functions.php Problem
- Wp admin – Set default value to 999 in comments
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Redirect to another page using contact form 7? [closed]
- Function that outputs second theme url
- ACF not showing
- How to customize the_archive_title()? Cannot figure out how to change the value it produces [duplicate]
- WordPress admin-ajax.php
- Change the “Default Avatar” admin option via functions.php
- Remove “Published On” inside wp-admin
- Where do i create my own function in wp-admin
- How to remove comment count column in Posts inside the admin dashboard?
- What is the text that appears beside the page titles in the list of pages in the WP admin?
- Control the srcset much more (not all sizes in it each time)
- Check if the image size is available and if not use ‘full’ image size
- Way to store featured image width and height in two separate variables?
- Remove Custuomize Sections
- Can we create our own theme’s function.php?
- Not all CSS elements transferring via parent to child?
- unnecessary request call for js and css after calling wp_dequeue_script
- Define PHP variable from a seperate API if statement
- Excerpt for pages not showing
- get_pages() Returns Only One Item
- get_template_directory adding FTP root folders in urls
- Turn get_posts as string into an array for use in theme admin options
- Filter nav menu items HTML tags and wrap inner text with span
- Sortable column (by numbers) in admin users
- Does size of a theme’s functions.php file matter?
- Functions php shortcode for displaying main menu with no child items
- get_next_posts_link() returns no result despite available posts
- Nav menus all outputting the same links
- PHP 7.1 | Warning: A non-numeric value encountered in
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- Redirect website domain (including all pages) to external URL after Popup message (few seconds)
- error at login page in wordpress
- How to insert class in each list of categories?
- I can’t add CSS with functions.php
- Default Nav Highlight
- Combine two active_callbacks into one on theme customizer
- Update to functions.php not showing in dashboard
- WP Customizer API loaded into functions.php
- Add element to widgetpage
- call_user_func_array() expects parameter 1 to be a valid callback, function
- why can’t i add front.css to my frontpage.php
- Best way to disable sidebars on posts (only)?
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- Is this an acceptable practice for WordPress theme development?
- What is the correct way to include my new functions and scripts in WordPress?
- How to override this theme function in child theme
- How do I register a new settings page? [closed]
- wp_nav_menu work in functions.php but not in the theme
- get_template_directory() – references parent theme directory
- Rewrite Question Mark in Post Template with URL Parameter for clean URLs
- contact form in template with jquery,validate and ajax
- How do I preserve changes to a theme’s functions.php across updates?