Support » Plugins » [Plugin: Rich Text Tags] Not working – fixed! Patch included

  • Resolved joshmarshall


    I found that the rich text wasn’t being shown on the site. I had to add an extra line at the bottom of the script:

    remove_filter( ‘term_description’, ‘wp_kses_data’ );

    For some reason that filter was also taking out the html.

    I hope that helps someone out, and I hope the next version will have this line.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Note: this needs to be added tot he functions.php file, not the plugin js file. In case anyone else wasn’t sure, I figured I’d note that.

    The site I wanted to customize with formatted tag descriptions is using the free Mystique theme. That theme includes an Advanced menu field for adding bits of code to the functions.php file without doing a manual edit, which made this very easy to do. It will also be easier to keep track of if I upgrade WordPress – otherwise I might accidentally overwrite the functions.php file and remove this customization.

    Of course you also need to have the descriptions enabled in your archives.php page already as well, which in my case was added as this line:

    <br />
    <?php elseif(is_tag()):  ?><br />
           <div id="tagDescription"><br />
                <h2 class="title archive-tag"><?php printf( __('Posts tagged %s', 'mystique'), '<span class="altText">'.single_cat_title('', false).'</span>'); ?></h2><br />
                <p><?php echo category_description($category); ?></p><br />
           </div><br />

    I’ve added the wrapping div to allow specially styled description that’s added to my style.css – that way my header and paragraph look the way I want without affecting the rest of the site.

    Zack Katz


    Thanks, I’ve added this to the plugin. Sorry for the delay!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Rich Text Tags] Not working – fixed! Patch included’ is closed to new replies.