Natively, I would suggest you to create an option page with some options value.
Take a look at this : https://wisdmlabs.com/blog/create-settings-options-page-for-wordpress-plugin/
After created your options, do you logic by getting the options value (= category id) per key (= month number)
Some plugin does that easily (such as ACF, but premium version)
Related Posts:
- How can I fetch loop of post titles via AJAX?
- WordPress Ajax always returns a 404 error
- Jquery no more loading, load-scripts.php not found (404)
- problem with ajax and the path to the php page
- Refresh page after update_post_meta
- How to use WordPress (PHP) functions in AngularJS partials files?
- Bulk Image upload and one image for each post?
- Targeting single page with JS
- Infinite-Scroll Plugin and Jetpack Infinite Scroll Plugin – Adding to “Thoughts” Theme
- JS completely stopped loading but Files are found
- Remove commas from WooCommerce checkout addresses fields
- Using an Image Slider twice on the same page
- Click loads template via ajax
- How to retrieve the content (with a specific ID) via ajax by clicking a link tag
- How to speed up admin-ajax.php in wordpress
- JQuery not working on WordPress Admin page [closed]
- Asking popup for delete post in WordPress [closed]
- jQuery .each to get post meta and subtract from a sum
- How do i use this jquery script on a wordpress site?
- How to test nonce with AJAX – Plugin development
- js file in root loading without
- hover image appears below placeholder instead of overlayed
- WooCommerce – Reset quantity input field when variation changes
- Slider loading issue
- Pass Category Name, Description and Photo into variables to pass to jQuery
- Adding Custom Slider
- Why ajax doesn’t work on certain wordpress hooks and reload the page instead?
- AJAX pagination, update current page
- Limit Widgets to Sidebar ID’s
- adjust section according to country?
- Change “add to cart” button color based on Woocommerce product category [closed]
- How can I get the values of my WordPress $wpdb query in Jquery?
- Ajax request returns ‘Array’. How to output the actual results?
- Slick + PHP + ACF + JQuery slide reveal not working
- How to add a do_action on refreshing of WP customizer?
- WordPress Multiple Navigation bars
- multiple taxonomy select display only one in front end
- Add / Update Custom Fields After Select Pictures in Media Window
- Fancybox type popup window that’s not an iframe
- WordPress admin-ajax.php 400 bad request
- Error – ‘create_function is deprecated’ [closed]
- Double jQuery loaded
- Trying to prepend a Hashtag symbol to the_tags links [closed]
- How to keep track of when a vote is cast?
- Ajax search shows all results when user empties input?
- Why i can’t get custom fields value or post ID via Ajax?
- Output votes to div dynamically in wordpress
- Admin-ajax php not working on new wordpress version
- Proper way to use WordPress function with AJAX PHP file
- JS file is not loading when i put wp_head() and wp_footer
- Live search from database table
- Angular not defined [closed]
- limit number of post for achive page
- Accessing an API with jQuery and AJAX
- Set cookie for visitor
- Wrap posts p tags in div
- Admin Menu new tab external link
- Replacing WordPress Icons (menu,icons32, etc)?
- Adding wp_list_categories to a specific div that was appended using jQuery
- Search Ajax Call – Use Form Data in Response
- Why does PHP called with Jquery AJAX not allow additional php code to be added?
- Database entry removed on browser refresh, Ajax PHP jQuery
- How to send a php var to jQuery Ajax call with two different file
- Display custom field value in woocommerce variable product via jQurey
- How do I call a value from the datase using ajax
- Remove Author Links
- Ajax result show in console if is called outside function and not showing in array
- Can’t make lazy load for my site, help!
- wp_ajax_ 400 Bad Request
- Change CSS Variable value in Theme Customizer Live Preview
- update_post_meta Not Processing Array Data (Not Sure What I Am Missing)
- JQuery modal not loading video on popup, only displaying it after multiple reopenings
- Input field duplicates on form submit by jQuery
- How to echo a PHP code into WooCommerce variation product?
- How to call a function from functions.php with ajax?
- Custom theme admin-ajax.php 400 (Bad Request)
- include javascript Multiple files in wordpress through script.js
- number of posts with “Load More”
- Calling header from JavaScript file
- Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge
- Add a downloaded JS file to WordPress
- Slider from different widgets
- Querying posts based off a jquery datepicker
- ajax form with multiple submit buttons and values
- How to run ajax in WordPress Post?
- Adding unique marketing messages between certain products whilst using isotope/Infinite Scroll
- Pass php to database in JQuery: With AJAX?
- Why this plugin is not working?
- Trying to fix multiple category drop down
- Adding javascript files to WordPress and jQuery version
- I am trying to call external database recieving error
- ajax form function error
- ACF repeater image in video poster with jquery
- Load Meta box value into div AJAX [duplicate]
- Replace the image of a product with its video in the shop page
- ajax problems on loading page [closed]
- Help with AJAX request
- I got this error POST https://localhost/meraboilerwp/[object%20Object] 404 (Not Found)
- JQuery UI Autocomplete showing as bullets
- Partial refresh in WordPress live preview