go41

leitfaden


von Joern
Keine Kommentare

did you also change in the last line: posts_per_page=$num ?try to echo $num and look for a number on top of your frontlistCode:<?php$num = intval(get_option('posts_per_page')) - intval(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=$num"); ?><?php echo $num; ?>it might work without intval in that line$num = get_option('posts_per_page') - count(get_option('sticky_posts'));or try this:Code:<?php$num…