Skip to content

Instantly share code, notes, and snippets.

@web-dev-media
Last active August 29, 2015 14:08
Show Gist options
  • Save web-dev-media/2e11685ea4d25bc01005 to your computer and use it in GitHub Desktop.
Save web-dev-media/2e11685ea4d25bc01005 to your computer and use it in GitHub Desktop.
<?php
if ( is_category() ) {
echo category_description( $category_id );
}
// oder
if (category_description() ) {
echo category_description();
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment