How to add contact form 7 inside a custom function?

By | March 23, 2021

Here is a rough example for using contact form 7 inside a filter hook. add_filter( ‘wpcf7_validate_tel*’, static function ($result, $tag) { // Conditional logic that used to be in the function $url = home_url(add_query_arg(null, null)); if (!(strpos($url, ‘id’) && strpos($url, ‘form_id’))) { // This is the original callback, now moved here. // Assign the result… Read More »

Iphone xr media query css

By | November 16, 2020

Hello, Are you are facing any design issue on your website while using iPhone XR? or worried about how to fix that issue? I have a solution for you through which you can easily fix the website responsive issue for your iPhone XR view. Most of the famous browsers don’t include an iPhone XR emulator… Read More »

What is Public html?

By | May 14, 2020

Public_html or website main directory The public_html folder in the Cpanel is the webroot for your main domain name. This denotes that public_html is the folder where you upload all website files which you want to show or execute when someone types your main domain like Index.html file is executed initially and kept in… Read More »

Reorder tabs in WooCommerce

By | May 2, 2020

woocommerce product detail page contains tabs with the product attributes and if we add the additional tab with more information for the product the tab listed in the last, but we want to show the tab in the second or third in the for these types of issues some snippets of the code are… Read More »