// if no title was found, use alt tag $title = $alt_title; } if ($title != $alt_title && $index_alt) { // if activated in admin settings, add the alt tag to the title $title .= " " . $alt_title . ""; } if (!$title) { // because we didn't find any title (even in alt tag), we need to use filename as title $title = str_replace($trash1, $replace1, $name); } } // extract EXIF info $id3_string = '0'; if ($index_id3 == '1') { $id3_string = get_exif($localtempfile); } $title = @iconv($charSet, "UTF-8//IGNORE", $title); $my_name = @iconv($charSet, "UTF-8//IGNORE", $my_name); $id3_string = @iconv($charSet, "UTF-8//IGNORE", $id3_string); $title_orig = $title; $title_trans = $title; $title .= $delim; // kill all secondary characters from title tag if ($del_seccharin) { $title_rem = $title_trans; $title_trans = del_secintern($title_trans); if ($title_trans != $title_rem) { $title .= " " . $title_trans . ""; // add new words to title }
} // Image Count $image_count = get_image_count($post->ID); if ($image_count > 0) { ?> <span class="meta image-count"><?php echo apply_filters('groundup_image_count', $image_count . ' images'); ?> </span> <?php } ?> <?php // Exif Info $exif = get_exif($post->ID, '</span><span class="meta exif">', '<span class="meta exif">', '</span>'); if ($exif != '') { echo apply_filters('groundup_exif', $exif); } ?> <?php // Categories if (count(get_the_category())) { ?> <ul class="meta categories"> <li><?php echo get_the_category_list('</li><li>'); ?> </li> </ul>