Skip to content Skip to sidebar Skip to footer

Adding A Hyperlink To Wordpress' Simplicity-lite Featured-box Element

I'm building a site for one of my very first clients using Wordpress' Simplicity-Lite Theme. I'd like to alter the theme somehow so as to hyperlink my images in the featured-boxes

Solution 1:

Please try this:

<ahref="<?php the_permalink (); ?>"><imgclass="box-image"src="<?phpecho of_get_option('featured-image' . $fboxn,    get_template_directory_uri() . '/images/featured-image' . $fboxn . '.png') ?>"/></a>

Instead of

<imgclass="box-image"src="<?phpecho of_get_option('featured-image' . $fboxn,    get_template_directory_uri() . '/images/featured-image' . $fboxn . '.png') ?>"/>

It should work.

Post a Comment for "Adding A Hyperlink To Wordpress' Simplicity-lite Featured-box Element"