3 column images as link

Discussion in 'Cloriato WordPress Theme' started by davehavers, Nov 28, 2012.

Thread Status:
Not open for further replies.
  1. davehavers

    davehavers New Member

    Joined:
    Apr 10, 2012
    Messages:
    7
    Likes Received:
    0
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Download updated version of theme from your members area and upload it, This will solve your issue.
     
  3. davehavers

    davehavers New Member

    Joined:
    Apr 10, 2012
    Messages:
    7
    Likes Received:
    0
    Hi Gourav,

    isn't there an easier way? I made lots of changes to the Standardtheme i can't even remember. It would take ages to figure things out.

    Thanks anyways.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Open front-page.php and replace code from line no 243 to 310(end of page)


    Code:
     <div class="featured">
          <div class="one_third">
            <div class="feature_inner feature_inner_bottom">
              <?php if ( get_option('inkthemes_headline1') !='' ) {  ?>
              <h2><a href="<?php if ( get_option('inkthemes_link1') !='' ) { echo get_option('inkthemes_link1'); } ?>"><?php echo stripslashes(get_option('inkthemes_headline1')); ?></a></h2>
              <?php } else {  ?>
              <h2><a href="#">Our Products</a></h2>
              <?php } ?>
              <?php if ( get_option('inkthemes_wimg1') !='' ) {  ?>
              <a href="<?php if ( get_option('inkthemes_link1') !='' ) { echo get_option('inkthemes_link1'); } ?>"><img class="feature-image" src="<?php echo get_option('inkthemes_wimg1'); ?>"/></a>
              <?php } else {  ?>
              <img class="feature-image" src="<?php echo get_template_directory_uri(); ?>/images/f-img1.jpg"/>
              <?php } ?>
              <?php if ( get_option('inkthemes_feature1') !='' ) {  ?>
              <p><?php echo stripslashes(get_option('inkthemes_feature1')); ?></p>
              <?php } else {  ?>
              <p>sed consectetur orci metus a justo. Aliq uam ac congu e nunc. Mauris a tortor ut massa is a egestas tempus. </p>
              <?php } ?>
              <a href="<?php if ( get_option('inkthemes_link1') !='' ) { echo get_option('inkthemes_link1'); } ?>" class="read_more">read more</a> </div>
          </div>
          <div class="one_third">
            <div class="feature_inner feature_inner_bottom">
              <?php if ( get_option('inkthemes_headline2') !='' ) {  ?>
              <h2><a href="<?php if ( get_option('inkthemes_link2') !='' ) { echo get_option('inkthemes_link2'); } ?>"><?php echo stripslashes(get_option('inkthemes_headline2')); ?></a></h2>
              <?php } else {  ?>
              <h2><a href="#">Our Services</a></h2>
              <?php } ?>
              <?php if ( get_option('inkthemes_fimg2') !='' ) {  ?>
              <a href="<?php if ( get_option('inkthemes_link2') !='' ) { echo get_option('inkthemes_link2'); } ?>"><img class="feature-image" src="<?php echo get_option('inkthemes_fimg2'); ?>"/></a>
              <?php } else {  ?>
              <img class="feature-image" src="<?php echo get_template_directory_uri(); ?>/images/f-img2.jpg"/>
              <?php } ?>
              <?php if ( get_option('inkthemes_feature2') !='' ) {  ?>
              <p><?php echo stripslashes(get_option('inkthemes_feature2')); ?></p>
              <?php } else {  ?>
              <p>sed consectetur orci metus a justo. Aliq uam ac congu e nunc. Mauris a tortor ut massa is a egestas tempus. </p>
              <?php } ?>
              <a href="<?php if ( get_option('inkthemes_link2') !='' ) { echo get_option('inkthemes_link2'); } ?>" class="read_more">read more</a> </div>
          </div>
          <div class="one_third last">
            <div class="feature_inner feature_inner_bottom">
              <?php if ( get_option('inkthemes_headline3') !='' ) {  ?>
              <h2><a href="<?php if ( get_option('inkthemes_link3') !='' ) { echo get_option('inkthemes_link3'); } ?>"><?php echo stripslashes(get_option('inkthemes_headline3')); ?></a></h2>
              <?php } else {  ?>
              <h2><a href="#">Our Clients</a></h2>
              <?php } ?>
              <?php if ( get_option('inkthemes_fimg3') !='' ) {  ?>
              <a href="<?php if ( get_option('inkthemes_link3') !='' ) { echo get_option('inkthemes_link3'); } ?>"><img class="feature-image" src="<?php echo get_option('inkthemes_fimg3'); ?>"/></a>
              <?php } else {  ?>
              <img class="feature-image" src="<?php echo get_template_directory_uri(); ?>/images/f-img3.jpg"/>
              <?php } ?>
              <?php if ( get_option('inkthemes_feature3') !='' ) {  ?>
              <p><?php echo stripslashes(get_option('inkthemes_feature3')); ?></p>
              <?php } else {  ?>
              <p>sed consectetur orci metus a justo. Aliq uam ac congu e nunc. Mauris a tortor ut massa is a egestas tempus. </p>
              <?php } ?>
              <a href="<?php if ( get_option('inkthemes_link3') !='' ) { echo get_option('inkthemes_link3'); } ?>" class="read_more">read more</a> </div>
          </div>
        </div>
        <?php } else { } ?>
      </div>
      <!--End Feature content-->
    </div>
    <!--End home content wrapper-->
    <div class="clear"></div>
    </div>
    <!--End Container-->
    <?php get_footer(); ?>
     
    davehavers likes this.
  5. davehavers

    davehavers New Member

    Joined:
    Apr 10, 2012
    Messages:
    7
    Likes Received:
    0
    Solved everything! Thanks!
     
Thread Status:
Not open for further replies.

Share This Page