Is_category vs in_category
So, I haven’t really looked into the difference between these two yet, but I have gotten in_category to work when is_category didn’t
So, I haven’t really looked into the difference between these two yet, but I have gotten in_category to work when is_category didn’t
This is the code I got to work after realizing that the code I was using broke the pagination. <?php if ( is_home() ) { $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(‘cat=-21&paged=’.$paged); } ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> The code below worked part way, but Read More…
When adding a fallback thumbnail it will ONLY work on new posts. Old posts will NOT show the thumbnail fallback.