Add image sizes in WordPress with add_image_size

By default WordPress have 3 image sizes: Thumbnail (150×150) Medium (300×300) Large (1024×1024) Full (Original Image Size) You can change these default image sizes from Settings > Media. Additionally, If yo u want define your own image sizes then you can simply do it with function add_image_size(). Below is the code snippet to add additionalContinue reading Add image sizes in WordPress with add_image_size

List of all default Rest API endpoints in WordPress website

In WordPress there are lot of default rest API endpoints which may help you while development. How to access rest API endpoints? You can access rest API endpoints though URLs. E.g. http://wpdigits.com/wp-json/wp/v2/posts Above URL show the list of all posts in the form of JSON. In this example endpoint, Domain name is http://wpdigits.com/ and theContinue reading List of all default Rest API endpoints in WordPress website