Get a Post Loop based on Logged in User information into a Shortcode
I can’t get the shortcode to work. So I see there’s a $args in your code, so if you actually want posts that match those args, then you can create a secondary query/loop like so: (replace all code from the if (have_posts()) : to the wp_reset_query();): global $post; // Create a secondary query $query = … Read more