Support » Plugin: Toolset Types - Custom Post Types, Custom Fields and Taxonomies » WYSIWYG Editor Field Not Working

Viewing 2 replies - 1 through 2 (of 2 total)
  • You are having problems just with Types WYSIWYG or with WP editor too?

    Tutorial you linked to is looking right.
    Do some other formatting appear to be wrong or just line breaks?
    I can’t keep formating 100% as I want due to WP editor restrictions.

    I went over my code again and checked it against the instructions at

    My problem was trying to combine my formatting with all the code into one echo. The line starting with $text = needs to be outside the echo. I was finally able to get it working by using the following template code:

    if ( get_post_meta($post->ID, 'wpcf-lyrics', true) )
          echo "<div id='lyrics'><h3>Lyrics for " . get_the_title() . "</h3><div class='lyrics'>";
     $text = get_post_meta($post->ID, 'wpcf-lyrics', true);
          echo apply_filters('meta_content',$text) . "</div> </div>";

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WYSIWYG Editor Field Not Working’ is closed to new replies.