wp_query get attachments in larger size
If you look at the raw post data… while (have_posts() ) { the_post(); ?> <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>><?php var_dump($post); ?> </article><?php } You will see that there is nothing in there to specify “medium”, so I went looking. There is a filter on the_content… add_filter( ‘the_content’, ‘prepend_attachment’ ); … that juggles data … Read more