Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add post-formats for theme
- add_theme_support( 'post-formats', array(
- 'quote',
- ) );
- if( $format == 'quote' ) {
- $content = apply_filters( 'the_content', get_the_content() );
- preg_match( '/<blockquote.*?>/', $content, $matches );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement