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);