• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Link Portfolio Archive Page Titles & Featured Images To Custom URLs

The code snippets in this post enable you to link both the title & the featured image to any URL including external URL’s.

You can use different URL’s for each title & featured image or the same.

The code can be added “as is” to the archive-portfolio.php file in your child theme or any other custom post type archive used in any Genesis child theme.

Demo Video

Here’s the demo showing you exactly what the code does tested on the Executive Pro child theme by StudioPress.

The code also checks if a custom link has been added for the featured image and title, if not, it uses the default code and links to the single CPT page.

Here’s the code for members:

Register for full access

Featured Image

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems