Home Forums Teddy WordPress Theme image link to post not working

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10403


    I DO NOT want the light box to open on my list pages
    instead i want to link featured image to the post
    I follows the instructions from another topic
    but that is no longer working

    I replaced on line 14 of mod.standard.php

    <div class="listitem_bigimg span8"><a href="<?php echo $image_thumbnail[0];?>" class="lightbox" rel="post<?php echo get_the_ID();?>"><?php echo get_the_post_thumbnail(get_the_ID(), 'post-list-thumb' );?></a></div><!--End .listitem_bigimg-->

    with as said in the other topic

    <div class="listitem_bigimg span8"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php echo get_the_post_thumbnail(get_the_ID(), 'post-list-thumb' );?></a></div><!--End .listitem_bigimg-->

    now it only works for some post

    • This topic was modified 1 year, 11 months ago by  BigDayOne.


    The mod.standard.php only works for Standard format post, plz try to change also: mod-gallery.php, mod-video.php and mod-audio.php

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.