echo 'a selected attribute'; } ?> ]</font> : <font color="#01A9DB">[<?php if (!empty($the_terms)) { echo $the_terms; } else { echo 'chosen terms'; } ?> ]</font>.</b><br> <?php // A MOLD IMAGE // wp_enqueue_media(); $the_image = $mold->pm_get_mold_image(); ?> <?php if ($the_image == "none") { ?> <script> // Uploading files var file_frame; jQuery('.upload_image_button').live('click', function( event ){ event.preventDefault(); // If the media frame already exists, reopen it. if ( file_frame ) { file_frame.open();