• Resolved TataVostru

    (@tatavostru)


    Hy ,

    i want to display other 6 post from my category , not first 6

    my code is

    <div class="stiri_fr1">
    <?php $my_query = new WP_Query('cat=2300&showposts=7'); ?>
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <div class="cinema_img">
    <?php $homethumb = get_post_meta($post->ID,'homethumb', true);  ?>
    <img src="<?php bloginfo('url'); ?>/wp-content/uploads/<? echo strtolower($homethumb); ?>.jpg" width="60" height="60" alt="" title="<?php printf(__('%s', 'kubrick'), the_title_attribute('echo=0')); ?>" />
    <div class="cinema_titlu"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title();?></a>
    <span class="cinema_continut">
    <?php the_excerpt_reloaded(20, '<a><p><ul><ol><li>', 'content', false, '', true);?>
    </span>
    </div>
    </div>
    <?php endwhile; ?>
    </div>

    who knows please post the code here please

    my site is https://www.filme-imdb.com
    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can i jump 6 post’ is closed to new replies.