Giving permission to anyone (non-users as well) with a password to edit a post, possible?

I would suggest having a generic form that can be completed by the public on the front end. The submission of the form would would generate the post, saving a random string in its meta data (the password), and send an email containing a link to /?p=PAGEID&post_id=THE_POST_ID&pw=THE_PASSWORD. THE_POST_ID and THE_PASSWORD are those values from the … Read more

output custom post types on front-page.php

Ok, completely re-written answer based on previous attempts and some suggestions from the comments (which I agree with as I’ve never used wp_get_recent_posts() myself… Assuming that everything for your custom post type is working correctly (I didn’t test it though) then just use the following for your front-page.php. <?php get_header(); ?> <main class=”home”> <h1>This is … Read more

How to have the same url structure for both a CPT and a Taxonomy?

There is no easy way, because it will cause conflicts. This means you have to solve those conflicts yourself and implement some logic, that will determine what to show. Here’s sample approach: add_filter( ‘term_link’, ‘repair_categories_link’, 10, 3 ); add_action( ‘parse_request’, ‘repair_links’ ); add_action( ‘pre_get_posts’, ‘repair_query_post_type’ ); // First we have to modify links for categories … Read more