includes/cs-bootstrap-post-thumbnails-in-feed.php
// Bringt die Artikelbilder in den Feed
Bringt die Artikelbilder in den Feed
Bringt die Artikelbilder in den Feed
function cs_bootstrap_display_post_thumbnail_in_feed($content) {
  global $post;
  if(has_post_thumbnail($post->ID)) {
      $content = '<div>' . get_the_post_thumbnail($post->ID, 'full') . '</div>' . $content;
  }
  return $content;
}
function cs_bootstrap_display_post_thumbnail_in_feed ( $ content ) { global $ post ; if ( has_post_thumbnail ( $ post -> ID ) ) { $ content = '<div>' . get_the_post_thumbnail ( $ post -> ID , 'full' ) . '</div>' . $ content ; } return $ content ; }
Bringt die Artikelbilder in den Feed
Bringt die Artikelbilder in den Feed