• 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)
  • Understand?

    Nope! :-\

    What’s the end goal? Alternating styles on asides? Something like asides but not?

    I think he is looking, like me, for additional style based on tags. In other words, like asides, one could have additional styles for other tags like, say “quotes” in large type etc…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding More Aside Styles’ is closed to new replies.