Right now after clicking once and I am in the post, clicking the default image again links to the image file url. Anyone could tell me where can I find the code to change to ammend this? Thanks a bunch.
How do I stop the default image from linking to itself?
(6 posts) (4 voices)-
Posted 8 months ago #
-
this was a feature request I added, but if you want to remove it, you can do so in the get_image function in the theme-functions.php file (in library/functions). Search for "is_single()?$image:" and replace with nothing.
Posted 8 months ago # -
Thanks. It works fine now.
Posted 8 months ago # -
search functions are great, just wanted to find this out. You should add it to your FAQ. Thanks for the support you give for the theme.
Even though I had to try it 3 times to get it right it now works
Posted 5 months ago # -
Hi there. I can't seem to make this work. The images keep linking to them selves. My pictures are 528 wide, by a range of different heights.
This is what I have done:
if ($postType == "feature")
get_image('feature',false,false,false; ?>and
<!-- begin post -->
<div id="post-<?php the_ID(); ?>" class="post single <?php echo $postType;?> <?phpbigfeature_post_class(); ?>">
<?php if ($postType == "normal") { echo '<div class="postimage">'; get_image(get_image('feature',false,false,false);
echo '</div>'; } ?>Thank you,
regards,
rich
Posted 4 months ago # -
the second get_image call is wrong, it should be like this:
<?php if ($postType == "normal") { echo '<div class="postimage">'; get_image('normal',false,false,false);
echo '</div>'; } ?>Posted 4 months ago #
Reply
You must log in to post.