limit to months rather than by number of posts

If I understand correctly you want to display all month of June on one page? This would require overiding the global $per_page setting it to a high number and also you would need to filter pre_get_posts and adjust the SQL query string to return results by date. The post you linked has the answer. Perhaps … Read more

Creating a post from data returned from HTML form

I worked it out and re-wrote the code: jQuery(document).ready(function() { jQuery(‘#createacostume’).submit(function( event ) { event.preventDefault(); var aForm = jQuery(this); var bForm = aForm.serializeArray(); bForm.push({name: ‘action’, value: ‘myAjaxFunction’}); jQuery.ajax({ url: ajaxurl, type: “POST”, data: bForm, success: function(resp) { alert(“Thank you for your post. We will review it and approve it shortly” + resp); }, error: function( … Read more