Osclass Support Forums

Osclass theme support => Free themes => Topic started by: Adrian Iorga on June 03, 2020, 03:23:16 PM

Title: katrina theme click to call
Post by: Adrian Iorga on June 03, 2020, 03:23:16 PM
Hello. I'm posting here trying to find someone to help me. I use the katrina theme and I need to click to call for phone number.This is the source code on item.php
<?php } ?>
<?php if ( osc_item_city_area() != "" ) { ?>
<div class="contact-button link-phone">
<i class="fa fa-phone" aria-hidden="true"></i>
<span class="hide-tail"><?php echo osc_item_city_area(); ?></span>
<a href="#" class="click-tel"><span class="textm"><?php _e('Show phone', 'katrina'); ?></span></a>
</div>
<?php } ?>

Thanks
Title: Re: katrina theme click to call
Post by: abuzarkandwal on April 15, 2021, 08:32:50 PM
can you tell me i new don't know about coding can you tell me how to click to call
Title: Re: katrina theme click to call
Post by: MB Themes on April 15, 2021, 08:58:14 PM
@abuzarkandwal
Basically it is made by not showing phone number on load, but showing it once click on particular element, i.e. from variable or attribute of some element