slider thumbnails. (3 posts)

  1. wilma2
    Posted 3 years ago #

    Could someone please check out my site? http://pg-designs.ca/gold/ I am trying to remove the thumbnails. There is no options in the admin panel so I checked the slider.php the code is below. I tried removing the tabby section. It left a smaller white box and stopped sliding..I so appreciate any help I can get...I have fought this for so long...

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ui.core.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ui.tabs.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
            // Tabs
                fx: {
                    opacity: 'toggle'
            }).tabs('rotate', 3000);
    <?php $slidecat = get_option('swt_slide_category');
          $slidecount = get_option('swt_slide_count');
            <div id="Container">
                <!-- Tabs -->
                <div id="tabs">
                    <?php $my_query = new WP_Query('category_name= '. $slidecat .'&showposts='.$slidecount.'');
                    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; $x++; ?>
                    <div id="tabs-<?php echo $x; ?>" class="feature">
              <?php if ( has_post_thumbnail() ) { ?>
                        <?php get_the_image( array( 'custom_key' => array( 'bigimg' ), 'default_size' => 'full', 'width' => '944', 'height' => '374', 'link_to_post' => false ) ); ?>
                        <div class="info">
                        <h2 class="titlesl"><a>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                         <?php truncate_post(200, true); ?>
              <?php } else { ?>
                        <div class="info2">
                        <h3 class="titlesl"><a>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
                         <?php truncate_post(400, true); ?>
                     <?php } ?>
                <?php endwhile; ?>
                    <ul id="tabby">
                    <?php $my_query = new WP_Query('category_name= '. $slidecat .'&showposts='.$slidecount.'');
                    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; $xb++;?>
                            <?php get_the_image( array( 'custom_key' => array( 'slimage' ), 'link_to_post' => false, 'default_size' => 'full', 'width' => '69', 'height' => '71' ) ); ?>
                <?php endwhile; ?>
    <div style="clear:both"></div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  2. wilma2
    Posted 3 years ago #

    I am unfamiliar with pastebin after I enter the info should i embed it here?

  3. wilma2
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic