WordPress site | Make a link out of a DIV on your WordPress template

By |2011-06-23T14:46:33+00:00June 23rd, 2011|Categories: Wordpress 101 Guide, Wordpress blog, Wordpress site, wordpress sites, wordpress theme, Wordpress website|

Well, just because I have searched for this in the past. Very simple procedure. Let's say you want to link your header div, what do you do? - Take care of business! Add a little javascript code and get your link on. <div id="header" onclick="location.href='<?php bloginfo('url');?>';" style="cursor:pointer;"></div> That is it!