"Service option" links
-
why dont the links work with the “Service icons”?
-
U can just add this below each service section in the front-page.php file
<a href="Your_link_here">Click here</a>
. If you add it below each php ending section of the service area, looking like this in ur code: “</p>”; } ?>”, it should work. So it should look like this (see the bottom):<div class="feature_section1"> <div class="container"> <h2><?php if($wl_theme_options['home_service_title'] !='') { echo $wl_theme_options['home_service_title']; } if($wl_theme_options['home_service_description'] !='') { ?> <b><?php echo $wl_theme_options['home_service_description']; ?></b> <?php } ?> </h2> <div class="margin_top3"></div> <div class="one_fourth animate" data-anim-type="fadeIn" data-anim-delay="100"> <div class="arrow_box"><?php if($wl_theme_options['service_1_icons'] !='') { echo "<i class='".$wl_theme_options['service_1_icons']. "'></i>"; }?></div> <?php if($wl_theme_options['service_1_title'] !='') { ?><h5 class="caps"><?php echo $wl_theme_options['service_1_title']; ?></h5><?php } ?> <?php if($wl_theme_options['service_1_text'] !='') { echo "<p>".$wl_theme_options['service_1_text']. "</p>"; } ?> <a href="Your_link_here">Click here</a>
thank you.
by the way, were the service sections designed to be clickable, and they forgot the coding? there is a space asking for the link. when you add the link, it still is not clickable.
Hello,
Fixed in the Next Update, will Go live soon.
Thanks
@need-help: Can I mark this as resolved ?
I’ve attempted to activate the Guardian service options to no avail. I attempted to add
to the front-page.php and that does not work. What am I missing? I would like these “buttons” on my site.
This is what my service section looks like is front-page.php
<div class=”feature_section1″>
<div class=”container”>
<h2><?php
if($wl_theme_options[‘home_service_title’] !=”) { echo $wl_theme_options[‘home_service_title’]; }
if($wl_theme_options[‘home_service_description’] !=”) { ?>
<b><?php echo $wl_theme_options[‘home_service_description’]; ?></b>
<?php } ?>
</h2>
<div class=”margin_top3″></div>
<div class=”one_fourth animate” data-anim-type=”fadeIn” data-anim-delay=”100″>
<div class=”arrow_box”><?php if($wl_theme_options[‘service_1_icons’] !=”) { echo “<i class='”.$wl_theme_options[‘service_1_icons’]. “‘></i>”; }?></div>
<?php if($wl_theme_options[‘service_1_title’] !=”) { ?>“><h5 class=”caps”><?php echo $wl_theme_options[‘service_1_title’]; ?></h5><?php } ?>
<?php if($wl_theme_options[‘service_1_text’] !=”) { echo “<p>”.apply_filters(‘the_content’, $wl_theme_options[‘service_1_text’], true). “</p>”; } ?>
</div>
<div class=”one_fourth animate” data-anim-type=”fadeIn” data-anim-delay=”100″>
<div class=”arrow_box”><?php if($wl_theme_options[‘service_2_icons’] !=”) { echo “<i class='”.$wl_theme_options[‘service_2_icons’]. “‘></i>”; } ?></div>
<?php if($wl_theme_options[‘service_2_title’] !=”) { ?>“><h5 class=”caps”><?php echo $wl_theme_options[‘service_2_title’]; ?></h5><?php } ?>
<?php if($wl_theme_options[‘service_2_text’] !=”) { echo “<p>”.apply_filters(‘the_content’, $wl_theme_options[‘service_2_text’], true). “</p>”; }?>
</div>
<div class=”one_fourth animate” data-anim-type=”fadeIn” data-anim-delay=”100″>
<div class=”arrow_box”><?php if($wl_theme_options[‘service_3_icons’] !=”) { echo “<i class='”.$wl_theme_options[‘service_3_icons’]. “‘></i>”; } ?></div>
<?php if($wl_theme_options[‘service_3_title’] !=”) { ?>“><h5 class=”caps”><?php echo $wl_theme_options[‘service_3_title’]; ?></h5><?php } ?>
<?php if($wl_theme_options[‘service_3_text’] !=”) { echo “<p>”.apply_filters(‘the_content’, $wl_theme_options[‘service_3_text’], true). “</p>”; } ?>
</div>
<div class=”one_fourth last animate” data-anim-type=”fadeIn” data-anim-delay=”400″>
<div class=”arrow_box”><?php if($wl_theme_options[‘service_4_icons’] !=”) { echo “<i class='”.$wl_theme_options[‘service_4_icons’]. “‘></i>”; } ?></div>
<?php if($wl_theme_options[‘service_4_title’] !=”) { ?>“><h5 class=”caps”><?php echo $wl_theme_options[‘service_4_title’]; ?></h5><?php } ?>
<?php if($wl_theme_options[‘service_4_text’] !=”) { echo “<p>”.apply_filters(‘the_content’, $wl_theme_options[‘service_4_text’], true). “</p>”; } ?>
</div>
</div>
</div><!– end of service section1 –>I’m trying to get the service links to work on my site. I put the code in but it’s still not working. Can you please advise on this?
Hi,
Please share website URL or screen shot.
Thanks
- The topic ‘"Service option" links’ is closed to new replies.