• i am using this https://guff.szub.net/2005/02/26/the-excerpt-reloaded/

    and every work ok. Now i use this tag:

    <?php the_excerpt_reloaded(75, ‘<img>’, ‘none’, TRUE, ‘? Read more’, FALSE, 2); ?>

    and what you see is the <img> tag will allow to display the picture, BUT i want to add the link to it too. So when people click it, then they will enter the post.

    here is my code:
    <?php the_excerpt_reloaded(75, '<a href="<?php the_permalink(); ?>"><img></a>', 'none', TRUE, '? Read more', FALSE, 2); ?>

    but it’s something wrong in this <img> tag and the a href

    edit* forgot to use backsticks ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add link to picture, help!’ is closed to new replies.