How to get all post status

As documented you can set the post_status argument to ‘any’ to retrive …any status except those from post statuses with ‘exclude_from_search’ set to true (i.e. trash and auto-draft). So: $args[‘post_status’] = ‘any’;

Opening Modal popup on Ajax form submission

It is not right location.href = “#modal”; when you need to change hash you need to use window.location.hash=”modal” but you have another problem! You need to initialize your plugin and use its api Instead of this location.href = “#modal”; you need to use: var inst = jQuery(‘[data-remodal-id=modal]’).remodal(); inst.open()

WP 5.5, child themes, customizer and a weird cache issue

In WordPress the current theme and parent theme are stored in the database, as the template (parent theme) and stylesheet (child theme) options in wp_options. These are set when you activate a theme based on the activated theme’s directory name, and the Template: header of the theme’s style.css, if it exists. These options are what’s … Read more