Enabling HTML and shortcodes in your Category Descriptions
- SEO |
You can do that by either using excerpts with unique written content and enable that in your category.php file, or you can use the category description field.
However that often doesn't allow html or short codes so here is a quick fix:
Add these 2 lines of text to your functions.php and the problem is solved:
remove_filter('pre_term_description', 'wp_filter_kses'); add_filter( 'category_description', 'do_shortcode' );
-
yukon Banned-
Thanks - 1 reply
{{ DiscussionBoard.errors[8907400].message }}-
nik0 Banned-
Thanks - 1 reply
{{ DiscussionBoard.errors[8907436].message }}-
yukon Banned-
[ 1 ] Thanks - 2 replies
{{ DiscussionBoard.errors[8907443].message }}-
unifiedac -
Thanks
Signature-== Online Marketing Blog ==-{{ DiscussionBoard.errors[8907456].message }} -
-
nik0 Banned-
Thanks - 1 reply
{{ DiscussionBoard.errors[8907466].message }}-
yukon Banned-
Thanks - 1 reply
{{ DiscussionBoard.errors[8907483].message }}-
nik0 Banned-
Thanks
{{ DiscussionBoard.errors[8907498].message }} -
-
-
-
-
-