How can I make a page with Category Names and make them show up as a tiled-grid?

Hi everyone.

My goal is to make the homepage of my wordpress site show only the categories of my posts.

This page should show the categories as a grid of tiles, similar to the windows 8 theme I guess (for visualizations sake :wink: )

but I’m having a hard time getting this “list” (i guess it shouldn’t even technically be a list in the first place?!) to show up as a grid.

Secondly, I would like to somehow randomly assign each “tile” a color. And thus when a new post creates a new category, this new categroy would also receive a background color.

I have already made my custom template for the homepage, and have included this:

<?php $args = array(

‘show_option_all’ => ”,

‘orderby’ => ‘name’,

‘order’ => ‘ASC’,

‘style’ => ‘none’,

‘show_count’ => 0,

‘hide_empty’ => 1,

‘use_desc_for_title’ => 1,

‘child_of’ => 0,

‘feed’ => ”,

‘feed_type’ => ”,

‘feed_image’ => ”,

‘exclude’ => ”,

‘exclude_tree’ => ”,

‘include’ => ”,

‘hierarchical’ => 1,

‘title_li’ => __( ‘Categories’ ),

‘show_option_none’ => __(‘No categories’:wink:,

‘number’ => null,

‘echo’ => 1,

‘depth’ => 0,

‘current_category’ => 0,

‘pad_counts’ => 0,

‘taxonomy’ => ‘category’,

‘walker’ => null

); ?>

<?php wp_list_categories( $args ); ?>

I assume that’s a start?

Thanks everyone for your help and suggestions, i’m stuck on this one! (hopefully it’s not a no-brainer!)

  • Jack Kitterhing
    • Code Norris

    Hi there @zughafen

    I hope you are well today.

    I’m afraid that this would require custom coding, and it a bit beyond what we can provide support with the custom coding of this.

    I have looked round for a solution to this and I believe this may also give you a good start here http://wordpress.org/plugins/category-grid-view-gallery/ as with some customizations (mainly CSS), you should be able to get a nice category view up :slight_smile:

    You may also want to take a look at posting a job on the WPMU DEV job board https://premium.wpmudev.org/wpmu-jobs/

    I hope you find that plugin helpful, Hopefully some of our great community members might be able to provide some further insight into this :slight_smile:

    Thank you!

    Kind Regards

    Jack.

  • zughafen
    • Flash Drive

    Hi there Jack,

    thanks for your quick response.

    That plug-in looks great, but unfortunately not quite what I’m looking for (as far as I could tell from the plugin site). That would work great for a portfolio using lightbox and all, but what I am looking for is a way to use the grid to show the categories themselves, and not just the posts from a specified category.

    Hope someone out there has some ideas :slight_smile:

    Thank you all!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.