

Hello! Namaste!
Hello! I am a WordPress Developer living near Gujarat, India. When I am not writing code, you can find me exploring new places & nature or spending time with friend & family.
Installed VIP package to use local docker Create VIP local docker using Start Create local docker system Import db backup in VIP local docker Use Media redirect for live site
While running VIP local docker, Some time we facing issue of Error response from daemon: No such container: <container_name> Above error will be fixed by running following do command Find then container Id of your container and remove that container. After this, Start project environment again.
For adding validation for block setting field with custom block, We can handle that easily with below component Using above component, you can create one state for each block and maintain global class for root block container to indicate if block has error. Here I added Example, how we can use above component with block…
By default, Gutenberg Editor edit post request is not pass any custom param which we added with edit link. If you want to use that custom param in server side to perform some action, you need to pass that custom param manually. you can do that with following JS code.
Update block.js to something like:
For enabling wild card or partial search query, we need to apply the following solution Ref: https://github.com/10up/ElasticPress/issues/1995 You can apply this solution by extending code using ep_formatted_args_query filter For debugging ep query argument before sending a request you can use ep_pre_request_args
First, You need to add squizlabs/php_codesniffer and wp-coding-standards/wpcs package dependency into Project using composerRef: https://packagist.org/packages/squizlabs/php_codesnifferhttps://packagist.org/packages/wp-coding-standards/wpcs On composer install, It will fetch both packages. you can find the following file/folder in the vendor folder. vendor/bin/phpcs vendor/bin/phpcbf vendor/wp-coding-standards/wpcs Not PHPCS setup is ready to use. The next step is to configure in PHPStrom. Open PHPStrom > Preference…
You simply need to execute the below command to switch PHP version.
Below Code Update post content image if image src is intermediate image path. It also update <img> tag height, width and src attribute. And update class with `size-full`
Here are listed some useful command and regex which are very user wile migrating image image from one server to another. Created zip with images which is listed on CSV CSV file need path of image file and Zip it will be on same path. Exclude intermediate size image and create zip updated directory structure…
In WordPress, While migration site, Media will large chunks to migrate. For making that seamless we should filter out all intermediate image sizes. Below command will filter intermediate image sizes for upload-dir and create zip file