WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] attachment page previous/next links (4 posts)

  1. jbaker1220
    Member
    Posted 4 years ago #

    Hi!

    I can't figure out how to get previous/next links on my photo gallery-generated attachment pages. From what I've read over the last few days we have little (or no) control over the attachment page *but* these links are supposed to be there by default.

    The galleries are located here:
    Page: http://www.votemonica.com/photos/
    Post: http://www.votemonica.com/2010/03/photos2/

    The thumbnails are all linked to "Attachment Page" in the gallery settings.

    Thanks so much!
    James

  2. esmi
    Forum Moderator
    Posted 4 years ago #

  3. jbaker1220
    Member
    Posted 4 years ago #

    Hi, esmi (or anyone else who is able to help),

    Thanks so much for the reply. However, if I need these links to appear on the attachment page and I have little or no control over the attachment page template then where do I insert these tags?

    Thanks again!
    James

  4. jbaker1220
    Member
    Posted 4 years ago #

    Okay, I figured this out *finally* after Googling for several days and thought I'd post it here in case it helps someone in the future.

    I found a post that said there was an image.php template which I hadn't seen when reading about the template hierarchy in the past. I found an article that describes how to use the appropriate tags in this template here: http://www.walkernews.net/2009/03/17/how-to-create-image-template-file-for-wordpress-theme-to-display-photo-gallery/ Combined with the codex links from esmi above, I was able to use this article to get what I needed.

    So, I guess this means that all the statements I read to the effect of "We can't control the attachment page" are outdated, eh?

Topic Closed

This topic has been closed to new replies.

About this Topic