BuilderChild-Covert
From IThemes Codex
Contents |
How to link featured image in single project page to specific URL
1. Install and activate Advanced Custom Fields plugin. Go to Settings -> Adv Custom Fields. Add a new custom field which should appear in project entry edit screen.
2. Edit project entries and add the URL of your choice in the new metabox.
3. Edit single-builder_projects.php.
Change
<?php the_post_thumbnail('inside-page-thumbnail'); ?>
to
<a href="<?php echo get_field('project_url'); ?>"><?php the_post_thumbnail('inside-page-thumbnail'); ?></a>
That's it.