This may be an HTML issue. For a multiple select, the name of needs to end in “[]”, to signify an array. So try changing:
<select name="<?php echo $themename_option_name.'['.$valueid.']'; ?>" id="<?php echo $themename_option_name.'['.$valueid.']'; ?>" multiple="multiple" style="height:150px; min-width: 200px;">
to
<select name="<?php echo $themename_option_name.'['.$valueid.']'; ?>[]" id="<?php echo $themename_option_name.'['.$valueid.']'; ?>" multiple="multiple" style="height:150px; min-width: 200px;">
So you should end up with:
<select name="hurst_theme_options[hurst_content_bullet_cats][]" id="...
Related Posts:
- How to export/import theme customizer settings?
- exclude multiple terms using get_terms() function
- Site Title and Tagline in Theme Options Page
- Getting key value of WP_Term object in wordpress
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- Archive listing of posts by publish year (multiple years)
- Add custom field to attachments in a specific category
- How to Remove Parents Category Permalink from Posts
- Looking to exclude blog posts from category Previous/Next buttons
- How to override .htaccess with new rules without ftp or edit it manual
- How can one utilize a variable as a callback function name for add_settings_field
- Put a link to a category round a hard coded A HREF
- theme options echoing multiple times
- Theme Options: If There is No Input, Don’t Display?
- How to exclude specific category from the get_the_category(); array
- Displaying theme options in css
- max_input_vars: how many am I using?
- combine Code 1 with Code 2
- get post based on category chosen in drop down – The ajax method
- Creating a related post section based on similar categories
- Customizer – Prefix Class Extension
- Proper syntax or method for keeping url in modified isotope / category links
- Selectbox in admin panel function linking to CSS
- Using if/else statements with output from theme options
- Issue adding sub category programmatically
- Grab posts by multiple categories
- selected option if current category is the value
- get_template_part based upon post’s category
- how to save selected option in variable for rest api category filter
- Alert Bar section within WP loop is displaying even though there are no posts
- Different post styles depending on category
- Display category name only once inside loop
- WordPress theme options error
- how to show only specific category for a template
- Creating sub-categories via php
- Define specific category name in PHP
- Edit the_category (); for a hierarchical display
- Category title output before opening title tag
- Include Parent Term in wp_list_categories
- How to array only one key from another array
- I’m trying to create an array with a foreach loop, but the array only stores the last item [closed]
- Displaying posts based on category
- Changing the color scheme based on the url visited
- Why is an array created in a function hooked to customize register populated when customizer is loaded but not when the front-end is loaded?
- How do I remove a category from a wordpress loop>
- Get categories names as an array to use it in theme settings
- How to add drag and drop functionalities to a div inside option panel
- How to get the last category name of a child category?
- How to separate categories with commas?
- Show all tags within a category?
- Add new post in existing categories using wp_insert_post
- How to change logo by category
- Problem with custom loop and wp_list_pluck [closed]
- Alphabetically Ordered Category in WordPress
- Loading Posts & Category with Ajax
- How to get current category
- WooCommerce: Display product categories to make IF statement
- Trying To Get Child Categories To Show, Issue With foreach Loop
- Define category ID using get_post_meta
- Show parent categories of the current category
- How to check if a category has a parent and child categories?
- How To Pass Array To get_the_category_by_ID() and Get An Array Back?
- Get category id when SEO URL is turned on
- what does $options = get_option(‘test_theme’); do?
- Display latest post from WordPress Featured Category that is also in X,Y,or Z categories
- Display Sibling WooCommerce Product Categories on Archive Page
- Dynamically switch file in get_template_directory_uri() | Function [closed]
- display the months of a specific category
- I need to display posts in subcategory beside posts in main category
- Add Custom Category Description When Empty
- Order category posts by last word of custom field
- Add a product category to a specific product via a button
- List sub categories and corresponding posts of a parent category
- Dropdown category field inside repeatable metabox
- How to Link to category titles if it is in the single post content?
- How can i show specific Category List?
- How to show category just on specific pages?
- How to filter specific element of an array in wordpress/php?
- How to find php variable of wordpress theme settings
- All categories options or All categories not Populating
- PHP get_category() function redeclared
- List categories assigned to a post
- Unable to get Post Category Name and URL
- How to add style in functions.php depending on conditions?
- How do I display Category titles on a WP Page?
- problem with category menu, it doesn’t want to show link
- Saving category as insert post
- Trying to see if page is category or single and displaying title with appropriate heading tag
- !in_array doesnt recognize category
- get_category only returning details for ‘uncategorized’
- How to change links in the 3 main categories, on widget category, to a javascript function call
- Not able to call class in NHP framework
- how to set category name for a post
- category & sub category order issues in wordpress
- Setting field not saving on front-end
- Fix incorrect related posts code snippet
- Display a list of posts corresponding to a category
- How to create categories out of a list of words?
- Is there a way of displaying related posts from lowest hyrachical order (lowest child category to parent category)
- WordPress Customizer – How to save list of checkbox of pages?