• dlocked

    (@dlocked)


    Hi,
    I’ve successfully managed to create my own theme and am desperately trying to make certain areas (4 rectangle vertical images) on the homepage clickable. I’ve formatted the said area in CSS but am not sure how to direct those areas to the pages on my wordpress…

    Any help would be much appreciated!

    Thanks, DL

Viewing 2 replies - 1 through 2 (of 2 total)
  • curtismchale

    (@curtismchale)

    Surround them in a link.

    <a href="<?php get_option('home'); ?>/page-name"><div>this is your rectangle</div></a>

    Thread Starter dlocked

    (@dlocked)

    I just saw this, thanks curtismchale, i’ll give that a go and get back to you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Clickable areas in custom theme’ is closed to new replies.