few lines from my index.php:
<?php if ((!function_exists("check_theme_footer") || !function_exists("check_theme_header"))) { ?><?php { /* nothing */ } ?><?php } else { ?>
<?php get_header(); ?>
<?php include (TEMPLATEPATH . '/sidebar-left.php'); ?>
<div id="content">
<div id="content-inner">
<?php $featured_slider_activate = get_option('rk_ecobox_featured_slider_activate'); if(($featured_slider_activate == '') || ($featured_slider_activate == 'No')) { ?>
<?php { /* nothing */ } ?>
<?php } else { ?>
<?php if(is_home()) { ?>
<?php include (TEMPLATEPATH . '/featured.php'); ?>
<?php } ?>
<?php } ?>
<div id="post-entry">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$posts_per_page = 4;
$offset = $posts_per_page * ($paged - 1) + 1;
$args = array(
'posts_per_page' => $posts_per_page,
'paged' => $paged,
'offset' => $offset,
);
query_posts($args);
?>
<div class="post-meta" id="post-<?php the_ID(); ?>">
<div class="image">
<h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
</div>
I don’t want to hide the first post on each page…. i’ll try to explain my self better. In my homepage and on every main page i got a summary of my 4 latest posts. Above that i got a slideshow of posts of my choosing. When i post something new i’m putting it in the slideshow and doesn’t want it to be shown again in the summary. (the slide show is on every main page) so what i want to accomplish is:
First post will be hidden from the summary but will still be public,
main page: 2,3,4,5
2 page: 6,7,8,9
3 page: 10,11,12,13