WordPress.org

Support

Support » Themes and Templates » [Resolved] How to get a post image to link to the post in categories.php

[Resolved] How to get a post image to link to the post in categories.php

  • sealyspeak
    Member

    @sealyspeak

    Hi all,

    using Mystique Theme expanded and looking for a way to get the post image (when displayed in the categories.php) to link to the post rather than linking to the image (opening in lightbox or in another window).

    I am pretty new to this, so any code help would be great. Sorry for my lack of skill in this area.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael
    Forum Moderator

    @alchymyth

    you set the image link when you add the image to the post, or when you edit the image;

    I don’t think there is an easy way to have the image link to different urls depending on the archive it is shown.

    sealyspeak
    Member

    @sealyspeak

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to get a post image to link to the post in categories.php’ is closed to new replies.