wordpress dependent dropdownlist using post type is not working

PHP Select Doctors ‘doctors’, ‘posts_per_page’ => -1, ‘meta_query’ => array( array( ‘key’ => ‘dptmnt’, ‘value’ => $dpt, ‘compare’ => ‘LIKE’ ), ‘order’ => ‘ASC’ ), ); $events = new WP_Query($args); while ($events->have_posts()): $events->the_post(); ?> “> HTML Select Department ‘dpt’, ‘posts_per_page’ => -1, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ ); $events = new WP_Query($args); while ($events->have_posts()): … Read more

Wp admin ajax load more

It sounds like you’re not super fluent with javascript/jQuery or PHP. if you’re not looking to learn how to code then I would suggest you pick a plugin to handle that for you. Otherwise there’s tons of tutorials out there on how to use ajax with wordpress to build that feature, like this one.