ID, "mood", true );
if (empty($currentmood) || $currentmood == '' || $currentmood == null) {
$mood = __('none','comicpress');
} else {
$mood = explode(".", $currentmood);
$mood = reset($mood);
}
$count = 0;
$count = count($results = glob(get_stylesheet_directory() . '/images/moods/'.$moods_directory.'/*'));
if (!$count) {
$count = count($results = glob(get_template_directory() . '/images/moods/'.$moods_directory.'/*'));
$moods_uri = get_template_directory_uri();
} else {
$moods_uri = get_stylesheet_directory_uri();
}
echo $count .__(' moods are available.','comicpress').'
'.__('Using Moods from directory: ','comicpress').$moods_directory.'
'.__('Current Mood: ','comicpress').$mood.'
';
if (!empty($results)) { ?>
/>