WordPress.org

Ready to get started?Download WordPress

Forums

Linking photos or making photos not be clickable (4 posts)

  1. averybros
    Member
    Posted 1 year ago #

    I have looked up other posts on this but they didn't seem to solve my problem. I have four images on the home page that I don't want to be click-able at all. There is a link immediately below the photos that work perfectly fine. I either don't want the images click-able at all or can I link each image to the same page that the link below it goes to? I don't want it to bring up the image in a new page or anything, it is strictly used for linking purposes. I want it to either go to the correct page or not be click-able at all. My site is at http://69.195.124.66/~averybro

  2. WordPress Bum
    Member
    Posted 1 year ago #

    Is your home page set as a static page?

    If so edit the page and swap to HTML mode.

    Remove the <a href="">IMAGE CODE</a> surrounding the image code.

  3. averybros
    Member
    Posted 1 year ago #

    It is in html mode but those four pictures are in a gallery. On that home page when you click on either of the four pictures it pulls up the image that is suppose to be a link and makes it so its only thing on page, it's pulling up the image file. I want it to either link to the correct page or not be click-able. Did you look at it?

  4. WordPress Bum
    Member
    Posted 1 year ago #

    Being lazy I would just view source on that page. Copy the entire gallery output source code and paste it in your page and manually change the links.

    <div id='gallery-1' class='gallery galleryid-18 gallery-columns-2 gallery-size-medium'>
    ALL THE OTHER CODE THAT IS IN BETWEEN THAT I AM NOT GOING TO PASTE
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic