Monthly Archives

October 2016

wordpress remove header footer tag

WordPress custom functionremoving all links in the header and footer

By | Tutorial | No Comments

Does people know how to remove the WordPress JSON API links in the header tag?


<head>
...
<link rel='https://api.w.org/' href='http://example.com/wp-json/' />
<link rel="alternate" type="application/json+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=..." />
<link rel="alternate" type="text/xml+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=..." />
</head>

This custom function should help removing all links in the header and footer:
Read More

woocommerce-custom-product-search

Woocommerce custom product search box

By | Tutorial, woocommerce | No Comments

The product search box widget loads the search box using the template function:
get_product_search_form() It then looks for the product search form in the file ‘product-searchform.php’ or uses its default markup. You can override the default WooCommerce template product-searchform.php by customizing the markup.

For reference, the default markup is:
Read More