Tag Info

New answers tagged

1

This should get you going in the right direction. Not my solution, slightly modified from here. You'll need to swap out your-post-type for the post type you're using. function adjust_post_formats() { if (isset($_GET['post'])) { $post = get_post($_GET['post']); if ($post) $post_type = $post->post_type; } elseif ( ...



Top 50 recent answers are included