Change Image Gallery/Other Stuff to Page Links

Change Image Gallery/Other Stuff to Page Links

Postby NorthernShores » Mon May 10, 2010 2:16 pm

I'd like to change the area devoted to the "Image Gallery" to be images linked to pages. I found posts describing the size of these images, as well as their location within the directory structure. I know where the images go, just not sure how to link them to our pages. :) Plz provide an example of the code necessary to link the images to pages. I sincerely appreciate this, as I'm not very code capable. Thank You!!
NorthernShores
 
Posts: 11
Joined: Mon May 10, 2010 1:53 pm

Re: Change Image Gallery/Other Stuff to Page Links

Postby Mina » Mon May 10, 2010 3:50 pm

If you go into Admin >> Appearances >> Editor >> utility.php you'll see the lines of code for those images:
  Code:
<li><a href="#"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/sample1.jpg" alt="" /></a></li>


If you look at the beginning of the line of code you'll see:
  Code:
<a href="#">

Just replace the # with your url.
User avatar
Mina
Cloisters Mama
 
Posts: 364
Joined: Fri Aug 14, 2009 8:42 pm

Re: Change Image Gallery/Other Stuff to Page Links

Postby NorthernShores » Mon May 10, 2010 3:58 pm

EXCELLENT! Thank you so much for the prompt assist.

Much appreciated!! :D
NorthernShores
 
Posts: 11
Joined: Mon May 10, 2010 1:53 pm


Return to Daily Minefield

Who is online

Users browsing this forum: No registered users and 1 guest

cron