WordPress.org

Ready to get started?Download WordPress

Forums

Addending #photo to the links made by next_image_link and previous_image_link (2 posts)

  1. Andrew Jacob Johnson
    Member
    Posted 3 years ago #

    I'm designing a photo album theme, and as part of it, I want the next_image_link and previous_image_link functions to return code including a #photo place marker.

    For example, the applicable part generates:

    ...

    Is this possible, and if so, how? Thanks in advance!

  2. Andrew Jacob Johnson
    Member
    Posted 3 years ago #

    Sorry about that, the code disappeared. The link should produce the following, enclosed in brackets:

    a href="[next image's permalink]#photo"

Topic Closed

This topic has been closed to new replies.

About this Topic