I'm at a loss on how to create a simple shortcode out of the following code:
<?php echo category_description( $category_id ); ?>
Looking to create something in the line of:
Any help would be appreciated. Please note I don't have any experience with creating shortcodes and the tutorials I've tried really didn't cover what I'm trying to do, I think :)
The purpose for this shortcode is to be able to display the description of certain Post and Product (WooCommerce) Categories inside a Page or Post.
PHP code source: http://codex.wordpress.org/Function_Reference/category_description