16. Sep. 2010
von
Keine Kommentare
Re: Changing posts on Arthemia front page to static :: Reply by drwhom
I love you Joern. This codeCode:<?php$num = count(get_option('sticky_posts'));$page = (get_query_var('paged')) ? get_query_var('paged') : 1;query_posts('cat=-27,-28&paged=$page&posts_per_page='. ( 10 - $num )); ?>And reducing stickies to 9 worked a treat. Many thanks to you and Mr or Mrs Cat.