linking a category in php?
-
Sorry, not sure how to explain this, stay with me.
I have a multisite, the theme for each site is the same and has 4 featured boxes. Each multisite is setup the same way and each one of the featured boxes connects to a specific category on one of the subs. I need the # in the first line below to be like that image link. The link will be http://domain.com/sub/category/category name/ – So I need the # to be /category/category name/
How do I do that when it’s not an image?
<a href="<?php echo of_get_option('featured-link3', '#'); ?>"> <img src="<?php echo of_get_option('featured-image3', get_template_directory_uri() . '/images/featured-image3.jpg') ?>"/>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘linking a category in php?’ is closed to new replies.