• Hi, everyone. I am trying to figure out a way to make the featured box show 6 posts/icons per line on my category pages like they do on my first page. my website is here: https://jaybendt.com, and here’s a category page: https://jaybendt.com/category/illustration. I have tried EVERYTHING!

    The only code I can seem to find that may be directly linked to the category display is this:

    <?php if($x == 0) { ?>
    
            <div class="featured_box first">
    
            <?php } elseif($x == 2) { ?>
    
            <div class="featured_box last">
    
            <?php } else { ?>
    
            <div class="featured_box">
    
            <?php } ?>

    While the code on the main page looks like this:

    `
    <?php if($x == 0) { ?>
    <div class=”featured_box “>
    <?php } elseif($x == 5) { ?>
    <div class=”featured_box “>
    <?php } else { ?>
    <div class=”featured_box”>
    <?php } ?>
    `

    I have tried everything. I have even tried using the main index snippet of code in the category page but nothing. Can someone help me figure out how to make it display the same?

  • The topic ‘Featured box in categories help’ is closed to new replies.