How do i search authors from search form using author’s name

You should create pre_get_posts filter and trigger in the $query->is_search() to check if post_type is set to author and if it is then unset post_type to posts or what evver you want and set author parametrs to $query object. related links: https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts https://codex.wordpress.org/Class_Reference/WP_Query#Author_Parameters Or you should create another select, listing all users and give it … Read more

Permalinks: custom post type -> custom taxonomy -> post

First, register your taxonomy and set the slug argument of rewrite to shows: register_taxonomy( ‘show_category’, ‘show’, array( ‘rewrite’ => array( ‘slug’ => ‘shows’, ‘with_front’ => false ), // your other args… ) ); Next, register your post type and set the slug to shows/%show_category%, and set has_archive argument to shows: register_post_type( ‘show’, array( ‘rewrite’ => … Read more