• I’d like to display the archives/categories/category count in a table like so:

    <table>
    <caption>Caption here</caption>
    <thead>
    <tr>
    <td></td>
    <th id=”January”>January</th>
    <th id=”February”>February</th>
    <th id=”March”>March</th>
    </tr>
    </thead>

    <tbody>
    <tr>
    <th>News Category</th>
    <td>150</td>
    <td>160</td>
    <td>40</td>
    </tr>
    <tr>
    <th>Media Category</th>
    <td>3</td>
    <td>40</td>
    <td>30</td>
    </tr>
    <tr>
    <th>Sports Category</th>
    <td>10</td>
    <td>00</td>
    <td>10</td>
    </tr>
    </tbody>
    </table>

    Is this possible to setup in the loop with wp_get_archives?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display archives by category with count in a table’ is closed to new replies.