wp_get_archives separate columns per year
-
Hi
I found this (https://wordpress.org/support/topic/two-column-archive) to separate in columns:
In the Archive:
<ul class="two-column"> <?php wp_get_archives('show_post_count=1'); ?> </ul>And then in CSS:
ul.two-column li { display: inline; width: 50%; float: left; } ul.two-column li:nth-child(2n+1) { clear: left; }But I need I would like to be displayed in different columns per year (http://www.xataka.com/archivos). Someone has cast, because I’m not able to find how.
Greetings.
The topic ‘wp_get_archives separate columns per year’ is closed to new replies.