Add Gravity Forms’ Custom Merge Tag For Day, Month and Year
WordPress Gravity Forms plugin lets you set dynamic values for fields via shortcode ( merge tag ). You can populate a field with a date value using the merge tag […]
WordPress Gravity Forms plugin lets you set dynamic values for fields via shortcode ( merge tag ). You can populate a field with a date value using the merge tag […]
WordPress Gravity Forms plugin’s documentation provides a code snippet to make a field read-only. But making read-only is not a good solution for input type text and select input fields. […]
I need to send WooCommerce webhook requests only when an order is completed. But WooCommerce does not have any webhook topic for order completion. I created the custom topic ‘Custom […]
If your PHP script is running on Pantheon hosting , you might be noticed that PHP rename function is not working. In PHP rename function is used to rename a […]
You can delete a directory using rmdir() function. But rmdir function has limitation. To remove a directory using rmdir , the directory must be blank. If a directory contains multiple […]
We know how to access PHP array items. If we know the number of keys and name of keys we can set a value to a multidimensional array item.For example […]
You must know the use of WordPress custom field (also known as Post Meta). You might see that if you have many custom fields in your WP then you don’t […]
Custom alternative function for JavaScript trim(). JavaScript trim() method is not supported in Internet Explorer 8 and earlier versions. IE8 says: Object doesn’t support this property or method. I am using an alternative method to Keep my JS project error free on IE.
A very easy way to publish your WordPress post just right now but post date will be a future time. Display future scheduled post to visitors. Here I will show you a very simple trick to do this. Just copy my simple PHP code snippet into your theme functions.php
Change your WordPress default media upload directory to new location. Store your media files in new location instead of wp-content/uploads . WordPress Media Library will access media files form your new directory. Here I am showing your how to do that.