Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bumpin because I am interested in this too. Or does the old one work with the new wordpress? WP 2.

    Forum: Plugins
    In reply to: More Category Styles
    Thread Starter genoa

    (@genoa)

    Ok, bumpin and clearifing….

    I guess what I am asking is…

    I have this:

    <?php //if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php
    if ($posts)
    {
    function stupid_hack($str)
    {
    return preg_replace(‘|\s*<ul class=”linklog”>|’, ”, $str);
    }
    ob_start(‘stupid_hack’);
    foreach($posts as $post)
    {
    start_wp();
    ?>

    But now I want to add another one that isn’t linklog class. I want to add a quickies but let it do the same thing so there isn’t unordered list on top of each other. How do I add another one like..
    return preg_replace(‘|\s*<ul class=”quickies”>|’, ”, $str);

Viewing 2 replies - 1 through 2 (of 2 total)