Kharis Sulistiyono on "Sydney: Contact Info Widget"

ساخت وبلاگ

Hello there,

For security reason, HTML code isn't allowed in that field. But we still have a chance to do so by using jQuery approach. Please try to do the following steps:

1. Install and activate the Header and Footer Scripts plugin
2. Go To Settings > Header and Footer Scripts panel
3. Paste the following code into the provided "Scripts in footer:" box

<script>
(function($){ if( $('.contact-phone').length ){ var getText = $('.contact-phone').contents().filter(function() { retu this.nodeType == 3; }).text(); var tel = '<a href="tel:'+getText+'">'+getText+'</a>'; $('.contact-phone').html('<span><i class="fa fa-phone"></i></span>'+tel); }
})(jQuery);
</script>

4. Save settings
5. Clear you web browser's cache before reloading your site.

I've also noticed that a lot of the input boxes on the Sydney theme strip out HTML code - is there a reason for this?

We always follow the WordPress coding standard. Every input field must be sanitized contextually. Please read the WP codex.

Regards,
Kharis

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 266 تاريخ : جمعه 4 تير 1395 ساعت: 17:28