Viewing 3 replies - 1 through 3 (of 3 total)
  • First create a child theme and activate it. This will ensure that the changes you make survive theme updates.

    Then copy wp-content/themes/poloray/front-page.php to wp-content/themes/poloray-child/front-page.php. Edit this file and make the following changes

    Go to lines 97, 122, 146 and 168 change

    <div class="circle"><img src="<?php echo poloray_get_option('poloray_wimg1'); ?>" /></div>

    to

    <div class="circle"><a href="<?php echo poloray_get_option('poloray_feature_link1'); ?>"><img src="<?php echo poloray_get_option('poloray_wimg1'); ?>" /></a></div>

    The “link1” in poloray_feature_link1 has to be link2, link3 and so on when you make changes.

    Thread Starter maaikeWP

    (@maaikewp)

    Thanks Jesin,

    What a perfect explanation.

    I think I can work with this.

    Will put it on my to do list, as it seems a lot of work. Haven’t before created a child theme…

    Thanks!
    maaike

    You’re welcome Maaike!

    A child theme can be created in 3 simple steps

    1. Create a directory named wp-content/themes/poloray-child/
    2. Create a file named wp-content/themes/poloray-child/style.css with the following contents.
      /*
      Theme Name: Poloray Child
      Template: poloray
      */
      @import url('../poloray/style.css');
    3. Login to wp-admin > Appearance > Themes and activate the “Poloray Child” theme.

    Once this is done you can modify most aspects of the parent theme.

    https://wp.tutsplus.com/tutorials/creative-coding/how-to-modify-the-parent-theme-behavior-within-the-child-theme/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make the featured images on the homepage clickable?’ is closed to new replies.