This file contains 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 webdev_remove_autor_link_from_comment ( $url ) { | |
if( ! in_the_loop() ) { | |
$url = preg_replace( '/<a href=[\",\'](.*?)[\",\']>(.*?)<\/a>/', "\\2", $url ) ; | |
}; | |
return $url; | |
} | |
add_filter( 'get_comment_author_link', 'webdev_remove_autor_link_from_comment' ); |
This file contains 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 | |
/** | |
* Validat the last Modifikation of this File | |
* on modification flush the rewrite rules | |
* | |
* @return void | |
**/ |
This file contains 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 | |
if ( is_category() ) { | |
echo category_description( $category_id ); | |
} | |
// oder | |
if (category_description() ) { | |
echo category_description(); | |
} |