problems with loading posts in a table-row

Here’s the problem: $my_query = new WP_Query(‘cat=7’); You asked for posts in the category with the ID 7. You never said anything about how many posts to fetch, so it fetches the default, 10 per page. So instead, you need to set posts_per_page, and you need to set it to a reasonable number such as … Read more

input data and output table [closed]

Finally done with installing “TablePress” and its extension “Inverted Filter” and making some code edits please follow this for more details https://tablepress.org/ https://wordpress.org/support/topic/how-to-not-show-the-result-of-the-search-query-until-enter-key-is-pressed

WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?

So I would take of on your html form the onsubmit()=…, once isnt needed and your javascript function should only have something like this. document.getElementById(“form_1”).style.display = “none”; or document.getElementById(“form_1”).style.visibility = “hidden”; this should do the job, if for some reason it does not, change the onclick from the input to the form tag. Your code … Read more

How to add a sortable date column in an admin page?

Just for people passing by, for putting together all this code was not trivial. The problem was actually the lack of data. I solved adding data as metakey (added in my case when the order changes status) and echoing it as the column value. So the full code is: // Adding a new column to … Read more