WordPress #8: Display List of Categories Based on Labeled Posts (TBD)

Code

On blog.php add,

<?php wp_list_categories('title_li=&exclude=1'); ?>

To remove ‘Categories’ title, add this CSS,

.pt-cv-readmore {
		    visibility: hidden;
		}

To remove bulletpoints, add this CSS,

li.cat-item {
    		list-style-type: none;
    	}


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *