Code

How To Add Category Thumbnails To Homepage In WordPress

I had to come up with the task of creating category thumbnails for a friend of mine. Here is a snippet of code if you need to use this: <?php global $post; $temp_post = $post; $args = array(‘numberposts’ => 6, ‘category’ => 227, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’); echo ‘<div class=”categoryThumbnailList”>’; $myposts = get_posts($args); …

How To Add Category Thumbnails To Homepage In WordPress Read More »