function cinnamon_subtitles_posted_on($posted_on, $post_id)
 {
     // Get subtitles
     $subtitle = get_the_subtitle($post_id);
     if ($subtitle && is_singular()) {
         $entry_subtitle = cinnamon_get_entry_subtitle($post_id);
         if ($entry_subtitle) {
             return sprintf(__('%s under <span class="taxonomies">%s</span>', 'cinnamon'), $posted_on, $entry_subtitle);
         } else {
             return $posted_on;
         }
     } else {
         return $posted_on;
     }
 }
 /**
  * Prints HTML "sub-title" if there's any Subtitle plugin. If there's no subtitle plugin, print category elegantly (using ampersand for the last category)
  */
 function cinnamon_entry_subtitle($post_id = false, $class = 'entry-subtitle')
 {
     // If no post_id defined, assume that this is used inside the loop
     if (!$post_id) {
         $post_id = get_the_ID();
     }
     $subtitle = cinnamon_get_entry_subtitle($post_id);
     echo '<h3 class="' . $class . '">';
     // Remove the "on" at portfolio page
     if (is_singular('jetpack-portfolio') || is_singular('page') || is_tax('jetpack-portfolio-type') || is_tax('jetpack-portfolio-tag') || is_post_type_archive('jetpack-portfolio')) {
         echo apply_filters('cinnamon_entry_subtitle', $subtitle, $post_id);
     } else {
         echo apply_filters('cinnamon_entry_subtitle', sprintf(__('on %1$s', 'cinnamon'), $subtitle), $post_id);
     }
     echo '</h3>';
 }