In order to use nvm you need to install in through .exe file. Here is the link to download nvm. Browse this link and download nvm-setup.zip file. Simply extract and install the exe file. Now playground is ready to play. In my case my node version was 12.18.2 . In my development process, there is… Continue reading Set up nvm in Windows 10
This primordials issue occurs when you have some different version for gulp and node. If you are using node 12 and gulp 3, then this problem happen while you automate your task. Here is the quick solution for you. If you are using yarn then add below snippet for in you package.json file and install… Continue reading How to fix primordials is not defined
WordPress comes with some default post type. Those are reserved in WordPress. You can create your own post type. Creating a post type in WordPress is nothing but a simple block of code. You just need to define your post type name and some array or string of arguments to register custom post type.
As a WordPress developer, its very rare that you don’t know what is custom post type or post type. During WordPress theme or plugin development, sometimes it’s needed to check the slug of a registered post type or taxonomy slug of a taxonomy. Here is a quick way, how you can check what is the… Continue reading How to get post type object
When you developing a theme or plugin, sometimes its need to check whether any page is built with elementor or not. You can different functionality based on this checked result. Here is the solution, to check if any page is built with elementor. Elementor introduce theme location API from 2.0, that allows theme developers to… Continue reading How to check a page built with Elementor