1 day after custom date change post status to draft

Your question isn’t very clear. Do you mean: 1 day after koncerter_start_date all posts with custom-post-type koncert have to get the status draft? EDIT Code: add_action( ‘wp_loaded’, ‘concert_daily_tasks’ ); function concert_daily_tasks() { $current_url = “https://” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’]; if ( $current_url == ‘https://example.com/concert-daily-tasks’ ) { // <– set the correct URL! check_concert_status(); } } … Read more

Developing WordPress on Kubernetes

To develop wordpress pages on Kubernetes, there are two types of tools you might want to use: 1. Dev Tools for Kubernetes Workflow There are a couple of dev tools for building applications directly on top of Kubernetes: ksync: https://github.com/vapor-ware/ksync (basic code sync) DevSpace: https://github.com/covexo/devspace (real-time code sync) Skaffold: https://github.com/GoogleContainerTools/skaffold (continuous deployment) Draft: https://github.com/Azure/draft (continuous … Read more

How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

After combining a bunch of pieces of other answers I got it working! So here’s the solution for those of you who are struggling with this too: This post and this one helped me out some, so thanks to those guys. Note, all this code, plus your initial custom post type and taxonomy registration code … Read more