• Hello everybody,

    I hope somebody could help me. I think it’s the easiest way when I just show you what i tried to do:

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;    $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
    $args=array(
      'post_type' => 'work',
      'post_status' => 'publish',
      'posts_per_page' => 2,
      'caller_get_posts'=> 1,
      'paged'=>$paged,
    );
    query_posts($args);
    if( have_posts() ) {
    while (have_posts()) : the_post(); ?> 
    
        <div class="workposts">
        <div><a href="<?php the_permalink() ?>" title="<?php the_title() ?>" class="linked"><?php $image = get_post_meta($post->ID, "Image1", true); echo $image; ?></a></div>
        <h3><a href="<?php the_permalink() ?>" title="<?php the_title() ?>" class="linked"><?php the_title() ?></a></h3>
        <?php $subtitle = get_post_meta($post->ID, "Subtitle", true); echo $subtitle; ?>
        </div> 
    
    <?php endwhile; } ?>

    Why does this not work out?? Please help me!

    Thank you soooo much!!!

Viewing 1 replies (of 1 total)
  • Thread Starter joeybottle

    (@joeybottle)

    Yeah! I’ve got further:

    It seems to work like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    But now when I click on page Number two (or more) it comes to an 404-Error. ??

    Any suggestions?????

Viewing 1 replies (of 1 total)
  • The topic ‘Paged Loop with current taxonomies…’ is closed to new replies.