Support

Stumped on the glider (2 posts)

  1. rss marywald

    junior member


    rss Posted 2 years ago
    #

    Milo can you tell me how to remove the author's name on the glider on the home page? -- http://www.thecommunity.com/wpmu

    My titles were being cut off so I set the overflow on .glidecontenttoggler .fet in the stylesheet to visible to get the whole titles. It did what I wanted but I need to remove the author name. The name doesn't matter a lot on this as they're all written by me at this point. I've removed all the references to it (I thought) in featured.php but it is still showing up. Here's my featured.php:

    <div id="featured">

    <script type="text/javascript">
    featuredcontentglider.init({
    gliderid: "glidercontent",
    contentclass: "glidecontent",
    togglerid: "togglebox",
    remotecontent: "",
    selected: 1,
    persiststate: true,
    speed: 500,
    direction: "downup",
    autorotate: true,
    autorotateconfig: [6000, 3] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
    })
    </script>

    <div id="glidercontent" class="glidecontentwrapper">
    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=0');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>

    </div>
    </div>

    <?php endwhile; ?>

    </div>

    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=1');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>
    </div>
    </div>

    <?php endwhile; ?>

    </div>

    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=2');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>
    </div>
    </div>

    <?php endwhile; ?>

    </div>

    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=3');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>
    </div>
    </div>

    <?php endwhile; ?>

    </div>

    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=4');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <small><?php the_category(', ') ?></small>
    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>
    </div>
    </div>

    <?php endwhile; ?>

    </div>

    <div class="glidecontent">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=5');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class="hentry">
    <div class="lead">
    <?php get_the_image(array('image_scan' => true)); ?>
    </div>

    <div class="txt">

    <small><?php the_category(', ') ?></small>
    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>

    <p><?php the_content_rss('', FALSE, ' ', 12); ?></p>
    <div class="read">">Read on </div>
    </div>
    </div>

    <?php endwhile; ?>

    </div>
    </div>

    <div id="togglebox" class="glidecontenttoggler">

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=0');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>

    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=1');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>


    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=2');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>


    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=3');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>


    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=4');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>


    <?php
    $slidecat = get_option('BTExtended_slide_category');
    $my_query = new WP_Query('category_name= '. $slidecat .'&showposts=1&offset=5');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <span class="leads">
    <?php get_the_image(array('image_scan' => true)); ?>
    </span>
    <span class="fet"><?php the_title(); ?></span>

    <?php endwhile; ?>


    </div>

    </div>

  2. rss marywald

    junior member


    rss Posted 2 years ago
    #

    Hi never mind, figured it out!

Reply

You must log in to post.

Design by milo

Milo designs web sites that strike the perfect balance between professional high-class graphics, functionality, usability, user experience, and high performance.