Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Quote Post Formate content filter
- function rx_quote_post_format($content){
- $post_format = get_post_format();
- if( $post_format == 'quote' ){
- $output = '<div class="rx_quote_post">';
- $output .= $content;
- $output .= '</div>';
- return $output;
- }
- return $content;
- }
- add_filter( 'the_excerpt','rx_quote_post_format' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement