• 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)
  • Thread Starter kruisko

    (@kruisko)

    I did some further digging into this issue and found it related to the editor choice. If I use visual editor formatting the text, all the p and br tags are missing in rendered html.
    I tried the same with text editor, same result unless I put the tags around paragraphs and end of lines by hand.
    As I said, the other tags are generated bei the editor. So I can use the plugin, but have to edit all p and br tags bei hand. And after that never ever switch back to visual edit mode, because it’ll it my tags again…

Viewing 1 replies (of 1 total)
  • The topic ‘WYSIWYG field doesn't show linefeeds and paragraphs’ is closed to new replies.