• wilma2

    (@wilma2)


    Could someone please check out my site? https://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
            $('#tabs').tabs({
                fx: {
                    opacity: 'toggle'
                }
            }).tabs('rotate', 3000);
    
        });
    </script>
    <?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>
                        <p>
                         <?php truncate_post(200, true); ?>
                        </p>
                        </div>
    
              <?php } else { ?>
                        <div class="info2">
                        <h3 class="titlesl"><a>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
                        <p>
                         <?php truncate_post(400, true); ?>
                        </p>
                        </div>
                     <?php } ?>
                    </div>
                <?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++;?>
    
    <li>
                            <a>">
                            <?php get_the_image( array( 'custom_key' => array( 'slimage' ), 'link_to_post' => false, 'default_size' => 'full', 'width' => '69', 'height' => '71' ) ); ?>
                            </a>
                        </li>
                <?php endwhile; ?>
    
                </div>
            </div>
    <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.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘slider thumbnails.’ is closed to new replies.