WordPress.org

Ready to get started?Download WordPress

Forums

Attachment (4 posts)

  1. iplainsdrifter
    Member
    Posted 6 years ago #

    When an image is attached to a post, such as http://www.thenextwave.biz/tnw/?p=380 I need to be able to click on the image, and have -that- page display a link that points back to the original/"parent" article. I have waded through the documentation for themes, and done some googling, but I cannot find what I need.

    Any help would be appreciated.

  2. moshu
    Member
    Posted 6 years ago #

    Create an attachment.php template file in your theme folder and put into it whatever code you need. It will be used to show the images that have the "Linked to Page" option.

  3. iplainsdrifter
    Member
    Posted 6 years ago #

    Thank you for the reply. I will try this out.

  4. iplainsdrifter
    Member
    Posted 6 years ago #

    I copied the default theme's attachment.php file and added our own headers, etc.

    Worked great! Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic