WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] More Link not working (6 posts)

  1. sdoscher
    Member
    Posted 2 years ago #

    I am using the creativix theme on IE on PC. The "read more" link works fine and is inserted automatically in the post excerpts at the BOTTOM of the page, BUT, only "..." shows in the slider except. Furthermore the "..." is NOT clickable. If I use a "More tag" in the actual post, I then get "(More...)" in the slider excerpt (but it is NOT clicklable) and the "Read More" link in the bottom posts goes away....

    I would like a clickable more link in both the slider excerpt and the excerpt at the bottom of the page.

    http://216.119.90.168/wordpress/

    Please help. Below is my theme index page. If you need to see any other files, please let me know which ones and I will post...

    Thank you so much in advance.

    <?php /* EDIT all thumbnail original sizes were h75 w100 */ ?>
    
    <?php get_header(); ?>
    <div id="wrapper">
    	<div id="slide-wrapper">
    
          <ul id="slideshow">
    
    	<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	if (get_option('feat_cat')) {
    	$category = get_option('feat_cat');
    	} else {
    	$category = 0;
    	}
    	query_posts("cat=$category&paged=$page");
    	while ( have_posts() ) : the_post() ?>
    
    <li>
    			<h3><a>" title="<?php the_title();?>"><?php the_title();?></a></h3>
    			<span><?php $values = get_post_custom_values("Featured"); if(isset($values)) { ?><?php echo $values[0]; ?><?php } else { ?><?php bloginfo('template_directory'); ?><a><img src=/images/add-feat.jpg><?php }?></span>
                  <p>
    
    <?php
    /*
    EDIT - removed date, time and comments
    
                 <p><span class="date">Published <?php the_time('j. F Y'); ?> at  <?php the_time( $d ); ?>  - <?php comments_number('No Comments','One Comment','% Comments'); ?></span>
    
    */ ?>
    
    			<?php $chars = get_option('front-chars');?>
    			<?php the_slider_limit(400); ?></p>
    
                      <?php
    			$values = get_post_custom_values("Featured");
    			$pathtemp = get_theme_root()."/wp-creativix";
    			if(is_writeable($pathtemp)) {
    			if(isset($values)) {
    			?>
    			</a><a>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $values[0]; ?>&h=75&w=137&zc=1" title="<?php the_title();?>"> </a>
    			<?php
    			} else {
    			?>
    			<a>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/add-feat.jpg&h=75&w=137&zc=1" title="<?php the_title();?> "> </a>
                      <?php
    			}
    			} elseif (isset($values)) {
    			?>
    			<a>"><img src="<?php echo $values[0]; ?>" width="100" height="75" alt=" "> </a>
    			<?php
    			} else {
    			?>
    			<a>"><img src="<?php bloginfo('template_directory'); ?>/images/add-feat.jpg" width="100" height="75" alt=" "> </a>
                      <?php
    			}
    			?>
    
    </li>
       <?php endwhile;?>         	 
    
          <div id="image-wrapper">
                <div id="full-image">
                      <div id="imgprev" class="imgnav"></div>
                      <div id="imglink"></div>
    
                      <div id="imgnext" class="imgnav"></div>
                      <div id="image"></div>
                      <div id="text">
                            <h3></h3>
                            <p></p>
                      </div>
                </div>
                <div id="thumbs">
                      <div id="arrowleft"></div>
    
                      <div id="frontarea">
                            <div id="fronter"></div>
                      </div>
                      <div id="arrowright"></div>
                </div>
          </div>
          <script type="text/javascript">
    	$('slideshow').style.display='none';
    	$('image-wrapper').style.display='block';
    	var slideshow=new SLIDE.slideshow("slideshow");
    	window.onload=function(){
    		slideshow.auto=true;
    		slideshow.speed=1000; <?php /* EDIT original 6 */ ?>
    		slideshow.link="linkhover";
    		slideshow.info="text";
    		slideshow.thumbs="fronter";
    		slideshow.left="arrowleft";
    		slideshow.right="arrowright";
    		slideshow.scrollSpeed=2;
    		slideshow.spacing=20;
    		slideshow.active="#fff";
    		slideshow.init("slideshow","image","imgprev","imgnext","imglink");
    	}
    </script>
    </div> </div>
    <div id="big-column">
    <div id="column-top">
    </div>
    
    <div id="column-content">
    
    <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	if (get_option('home_cat')) {
    	$category = get_option('home_cat');
    	} else {
    	$category = 0;
    	}
    
    /* EDIT ORIG SHOWPOSTS WAS 2 - FOLLOWED BY LATEST POSTS AND ARTICLES  */
    
    query_posts("cat=$category&showposts=3&paged=$page&caller_get_posts=1");
    while ( have_posts() ) : the_post() ?>
    
    <div class="feat-post">
    <h2><a>" title="<?php the_title();?>"><?php the_title();?></a></h2>
    
    <?php
    
    /*
    
    EDIT - COMMENTING OUT TO REMOVE DATES AND COMMMENTS OF POST
    
    <span class="desc"><h3>Published <?php the_time('F j, Y'); ?> at <?php the_time();?> - <?php comments_number('No Comments','1 Comment','% Comments'); ?></h3></span>
    
    */
    ?>
    
    <?php the_excerpt();?>
    <?php $values = get_post_custom_values("Featured");
    $pathtemp = get_theme_root()."/wp-creativix";
    if(is_writeable($pathtemp)) {
    if(isset($values)) {
    ?>
    
    <?php
    /*
    EDIT - remove image in post excerpt
    
    <a>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $values[0]; ?>&h=100&w=295&zc=1" alt=""> </a>	
    
    */
    ?>
    
    <?php
    }
    } elseif (isset($values)) {
    ?>
    <a>"><img src="<?php echo $values[0]; ?>" width="295" height="100" alt=""> </a>
    <?php
    }
    ?>
    </div>
    <?php endwhile;?>  
    
    <?php
    /* EDIT - COMMENTING OUT THE LATEST POSTS AND ARTICLES
    
    <div class="latest-posts">
    <h2><a href="#">Latest Articles</a></h2>
    <span class="desc"><h3>Latest Articles from the Blog</h3></span>
    <ul class="latest-posts">
    <?php $temp_query = $wp_query; ?>
    <?php query_posts('cat=0&showposts=8'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php $do_not_duplicate[$post->ID] = $post->ID; ?>
    
    <li><a>" title="<?php the_title();?>"><?php the_title();?></a><span class="date">Published <?php the_time('F j, Y'); ?> at <?php the_time();?></span></li>
    <?php endwhile; else: ?>
    <?php endif; ?>	
    
    </div>
    
    */
    ?>
    
    </div>
    
    <?php get_footer(); ?>

    [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 has now been permanently damaged/corrupted by the forum's parser.]

    Scott

  2. Marventus
    Member
    Posted 2 years ago #

    Hi.
    By looking at the original template, it seems your template version is broken. Try to re-install or re-upload it see if that makes any difference.
    Cheers!

  3. govpatel
    Member
    Posted 2 years ago #

    Read More link is working fine

  4. sdoscher
    Member
    Posted 2 years ago #

    Thanks govpatel. The Read More link works fine in the bottom 3 posts...but NOT in the slider. Are you seeing something differnt?
    http://216.119.90.168/wordpress/

    Scott

  5. sdoscher
    Member
    Posted 2 years ago #

    Updated Theme...fixed issue.

  6. Marventus
    Member
    Posted 2 years ago #

    Great news. As I said before, your old theme version was clearly broken. By updating it, you erased the old files and replaced them with the new ones.
    It looks much better now, BTW :-)
    Take care!

    P.S.: Please don't forget to mark this thread as resolved (right sidebar, "This topic is" drop-down box).

Topic Closed

This topic has been closed to new replies.

About this Topic