Code Snippets

Disable Emoji in WordPress Using a Plugin or Adding PHP Codes

Like it or not, emoji has become an indispensable part of internet communications. Originally started as pictograms in the early 1980s, emoji gained popularity in the late 1990s through the use of the mobile email service in Japan. Since then, emoji gained widespread acceptance and used everywhere, from forum posts to social media statuses. Currently, emoji …

Disable Emoji in WordPress Using a Plugin or Adding PHP Codes Read More »

Making Custom Post Type & Taxonomy Works With Gutenberg

Gutenberg – the all new WordPress admin editor was released since WordPress 5.0. It brought a whole new way on how to create post & page within WordPress, it’s like using using a block-based page builder inside WordPress Dashboard. There are many pros and cons amongst the WordPress community since it was first introduced but …

Making Custom Post Type & Taxonomy Works With Gutenberg Read More »

Add Element After Add to Cart Button in WooCommerce Single Product Page

Here’s a simple code snippet on how to add a new element right after the add to cart button in single product page in WooCommerce. All we need to do is create a function and attach that function to woocommerce_after_add_to_cart_button hook. You can add basically anything using this code, for example you can use the …

Add Element After Add to Cart Button in WooCommerce Single Product Page Read More »