This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function sm_preprocess_comment($comment) | |
| { | |
| if( !empty($comment['comment_author_url']) ) | |
| { | |
| $comment['comment_author_url'] = preg_replace( | |
| '/(plus\.google\.com.*?)(?:\?|&|&|�*38;|�*26;)rel\=author/i', '$1', $comment['comment_author_url'] | |
| ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## POSTS ################################################################################################# | |
| # list all posts, paginated | |
| # where result posts might be everthing under '/news/' or sth. | |
| # | |
| # interesting values included: | |
| # * comment_status (if comments are allowed) | |
| # * ping_status (if pings from other weblogs are allowed) | |
| # * slug | |
| # * date_gmt |