WYSIWYG field doesn't show linefeeds and paragraphs
-
Thanks a lot for this plugin. It works great, but there is a little bug for me when I use a WYSIWYG field in a custom taxonomy. All the linefeeds and paragraphs are ignored on the archive page.
I tried other format options like bold, list or link and they are all printed as expected.This is how I call the custom field in template file:
if ( function_exists( 'get_all_terms_meta' ) ) : $magMeta = get_terms_meta($category_id, 'inhaltsangabe'); $inhalt = $magMeta[0]; if ( ! empty( $inhalt ) ) : printf( '<div class="mag-inhalt">%s</div>', $inhalt ); endif; endif;
https://www.ads-software.com/plugins/custom-taxonomy-category-and-term-fields/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WYSIWYG field doesn't show linefeeds and paragraphs’ is closed to new replies.