multicolumn in category after doing it in home
-
thanks to the support here i was able to have the home page of my blog split in 2 columns containing all latest post
with this?<?php add_filter('post_class', 'postclass_postspage_columns_correction'); function postclass_postspage_columns_correction( $classes ) { global $wp_query; if ( is_home() ) $classes[] = 'post-column-'.(($wp_query->current_post%2)?'right':'left'); return $classes; } ?>
now i want to achieve the same multicolumn in the category
i suppose i can use the same code and change the viariable IS_HOME to IS_CATEGORY. what else are the varibale to change?(and relative css though)
also, is it possible to have a x number of post showwn in home page and y number in category?
thanks
- The topic ‘multicolumn in category after doing it in home’ is closed to new replies.