Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to show category and its posts in table output

$
0
0

Replies: 0

Hello, couldn’t find this anywhere. I would like to show categories in table format. Each category in a row. Also all posts in a “subrow”. Output would be like this:
<table>
<tr><td colspan=12>Category Months of year 2018</td></tr>
<tr>
<td>Post January</td>
<td>Post February</td>

<td>Post December</td>
</tr>
</tr>
<tr><td colspan=12>Category Months of year 2017</td></tr>
<tr>
<td>Post January</td>
<td>Post February</td>

<td>Post December</td>
</tr>
</table>


Viewing all articles
Browse latest Browse all 59525

Trending Articles