multiple posts in content slider (2 posts)

  1. egeyisi
    Posted 7 years ago #

    Hello. I have a complicated pagination problem. I'll try to explain it briefly.

    I use Dynamic Drive Featured Content Glider Script combined with my loop. I've already made this combination by using query tags long time ago and there is no problem.

    But using the same script I just want to add another feature. I need to show 5 post links in one gliding page. In other words, I want to make my glider show my articles not 1 by 1 but 5 by 5.

    To make ist more visible for you, here is the current result of my hack: http://www.s39816.gridserver.com/?tag=galatasaray . As it is seen, the articles show up one by one. So i want it to be shown five by five.

    And here is the current code that I use:

    <div id="canadaprovinces" class="glidecontentwrapper">
    <?php $current_tag = single_tag_title("", false);
    ) );
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="glidecontent">
    <div id="katkata">
    <?php $values = get_post_custom_values("fotograf");
    if ( !empty($values) ) {
    echo '<img src=' . $values[0]. ' ' . '>';
    else {
    echo '';
    ?><a href="<?php the_permalink() ?>" rel="bookmark"><u><b><?php the_title(); ?></b></u><br />
    <?php the_excerpt(); ?></a>
    <?php endwhile; ?>
    <div id="p-select" class="glidecontenttoggler">
    <a href="#" class="prev">Prev</a>
    <a href="#" class="next">Next</a>
    <?php endif; ?>

    What kind of manipulation can make it work as wish in your opinion?

    Thank you.


  2. egeyisi
    Posted 7 years ago #

    Sorry I forgot to link the original page of the script that I use. Here it is:


    thanx a lot


Topic Closed

This topic has been closed to new replies.

About this Topic