WordPress.org

Ready to get started?Download WordPress

Forums

Gallery shortcode: display link to next image in the attachment page. (2 posts)

  1. myfunny
    Member
    Posted 5 years ago #

    Hi.

    I'd like the images in the attachment pages you reach via gallery shortcode thumbnails to link to the next attachment page of the post - now, they link to the media itself.

    I know that I could just add the link in the image upload dialog, but I would like it to be automatic - editing the media.php file.

    Has anyone any idea about how to do it? The gallery shortcode section of media.php seems to be screaming "danger! danger!" and I'm afraid to experiment.

  2. doriggidy
    Member
    Posted 4 years ago #

    Did you ever get this to work? I would like to do the same thing.

Topic Closed

This topic has been closed to new replies.

About this Topic