WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Where does it call the link?!?!? (2 posts)

  1. rleigh
    Member
    Posted 3 years ago #

    The images on my homepage are currently called by this line of code:

    <li class="post-<?php the_ID(); ?> thumb-big"><?php get_the_image( array( 'custom_key' => array( 'thumbnail' ), 'default_size' =>

    Right now, each image on the homepage (http://www.rleighphotography.com) links to its specific post (the thumbs are pulled via making it the "featured image"). I'd rather the home images not have a link at all or link to the "galleries" page. There has GOT to be a way to remove the link, but where in the heck is it in that snippet of code? I can't seem to figure it out.

    *Entire home.php*

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. rleigh
    Member
    Posted 3 years ago #

    Here is a snippet of the home HTML where it's located... See the dumb "a href".... now how in the world do I get that out of there? (I had to do a line break, b/c otherwise it will cause the "img" to link instead of displaying code)

    <li class="post-257 thumb-big"><a href=
    "http://rleighphotography.com/link"><img src="http://rleighphotography.com/link.jpg" class="thumbnail 320x320 " width="320" height="320" />

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.