I want to get the first blockquote from the post (even if the user writes only one, or more than one) in the Quote Post Format, in order to show it in the archive Loop. For example:
$quote = has_post_format( 'quote' );
if ( $quote ) {
if ( *the post has no quotes* ){
// Don't show anything
} else {
// Show the blockquote from the post (if there's only one),
// or the first one (if there are more than 1)
}
}
Is there something like this?