Adding More Aside Styles
-
Alright, so you know what this is right? Its the code to fix the unordered list for each post as an aside.
<?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();
?>Now my question is, how do I add to this code so that it will do the same with not only the class linklog, but another class that looks exactly the same but has a different style, linklog2 for example?
Understand?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding More Aside Styles’ is closed to new replies.