Tag Info

New answers tagged

0

Found a fix to the problem simply, place ob_end_flush(); at the top of the script, and Wordpress will no longer be able to catch the output of the script, and won't be able to do anything funny with it. It also seems to stop the page being cached, which is fine by me.


1

You need to loop through the attachments within your post loop, replace the section of code you posted with this (put this together from some other code I found related to a similar problem, but couldn't test it): </BasicDetails> <?php $args = array( 'post_parent' => $post->ID, 'post_type' => 'attachment', ...



Top 50 recent answers are included