Update WordPress Post URL also, whenever Post Title gets changed

In our wordpress theme or wordpress plugins, there may be have used many methods or filters to add/edit posts or custom type posts. We know, once a post is created and then we edit its title then its slug or url does not change automatically.

To change the URL of wordpress post according to its title, we will have to use this filter hook in our functions.php : Keep on reading

[Solved] How to set dynamic confirmation url in ajax enabled gravity form OR Redirect user to the newly created post by gravity form

In gravity form settings, there are two kind of confirmations, first is redirect url and second is text. You can either redirect user to another page like thank you page after form submission or you can show the confirmation text like thank you, your form is submitted successfully.

For the redirect setting, we can use there form field values also, to set string etc, but we can’t set there completely dynamic url on based of conditions. For example, I have used Post fields in my gravity form, from which post creates automatically after submitting the form. Now, if I want ti redirect my user to the newly created post which is just created by him by submitting the form, then I cannot do it via Form settings. Keep on reading

wp nonce in ajax calls to secure ajax call request

We all know that it is a best protocol to use wp nonce methods in wordpress to secure the POST or GET requests. WordPress nonce method creates a string that can be used once and have a limited lifetime after they expire. Thus by verifying the created nonce we can authenticate the incoming request. To use wp-nonce in ajax calls, first we will have to pass the nonce to our jquery file, in which we are having code of ajax request.

To pass the nonce value in jquery file, we will have to localize the jquery script as : Keep on reading

Download Visual Studio 2017 ISO (offline installer) + Web Installer

This is a simple guide to download offline installer or ISO file for Visual Studio 2017.

As you all new Microsoft always provides web installer file for all new releases of Visual studio and on 7th March Microsoft has launched Visual Studio 2017 and this time also they haven’t provided offline installer or ISO file of the setup so we are here to explain how you can obtain offline installer or ISO file from this web installer EXE. Keep on reading