• Plugins that change post content work fine in 1.5 until you use Archives or Categories view, when the post doesn’t seem to be filtered.

    An example is acronyms.php but even something simple (& silly) like:
    <?php
    function convertouppercase($text) {
    return strtoupper($text);
    }
    add_filter('the_content', 'convertouppercase');
    ?>

    exhibits the same problem.
    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • In 1.5, in order for Archives and Categories view to get filtered, a new filter needs to be added to the plugin like so:

    add_filter('the_excerpt', 'convertouppercase');

    The default theme (and possibly Classic, though I haven’t checked) show the excerpt text, not the content text on those pages.

    Thread Starter stevem

    (@stevem)

    Thanks very much for that – solves the problem 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugins in 1.5 Strayhorn’ is closed to new replies.