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 speed up admin-ajax.php in wordpress
- JQuery not working on WordPress Admin page [closed]
- Asking popup for delete post in WordPress [closed]
- Sending jsPDF documents to the server
- 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
- 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
- Form Security: nonce vs. jQuery
- Pull GetOption() variable into jQuery dynamically created html
- Royalty-Free Sliders used in theme development
- Error – ‘create_function is deprecated’ [closed]
- What are the advantages/disadvantages of using jQuery DOM manipulation as opposed to PHP DOM manipulation?
- Double jQuery loaded
- Trying to prepend a Hashtag symbol to the_tags links [closed]
- Javascript not loading on certain page
- WordPress plugin admin page – using WordPress function in linked php file
- Shortcode to pull posts
- Ajax search shows all results when user empties input?
- Why i can’t get custom fields value or post ID via Ajax?
- Get uploaded image and attach it to the new post
- Admin-ajax php not working on new wordpress version
- How to add post thumbnail dynamically using Jquery?
- Proper way to use WordPress function with AJAX PHP file
- calling function in external js file
- Live search from database table
- How to refresh a page from jquery [closed]
- Add a counter for mouseovers (custom field)
- Accessing an API with jQuery and AJAX
- Unexpected token ILLEGAL, even on clean install – jquery-issue?
- Wrap posts p tags in div
- Admin Menu new tab external link
- Replacing WordPress Icons (menu,icons32, etc)?
- How to set variables with AJAX request to use in another function in WordPress
- 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
- Display custom field value in woocommerce variable product via jQurey
- Remove Author Links
- Add other class content with reference class value
- Ajax result show in console if is called outside function and not showing in array
- Admin-ajax.php 404 error
- How to pass values from one function to the other using an array variable
- How to change PHP variables with AJAX request in WordPress
- How to pass bloginfo(url) in a jquery
- wp_ajax_ 400 Bad Request
- update_post_meta Not Processing Array Data (Not Sure What I Am Missing)
- 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?
- include javascript Multiple files in wordpress through script.js
- ACF + WP + Slick Slider Repeater Slide Group PHP not Displaying [closed]
- Find the method which AJAX GET calls
- How to create a radio button to alt between settings in wp_options table
- 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
- How to call javascript function (jquery) in a shortcode?
- 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?
- Adding instant search to wordpress page
- Add php function into .js file (for tinyMCE button)
- 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
- Different behaviour between “include_once” and directly echoing out html code?
- How to use js variable to php in wordpress functions.php