Here is a nice little script that takes a directory full of images, creates a thumbnail of said image and saves it to a directory, and then displays the gallery of images. I didn't create this code but found a guy by the name of David Walsh who took code written by...
I wanted to be able to add a Last Modified date column to my Pages and Posts page. So I came across this website, ITSupportGuides, that had a create little code snippet to accomplish just what I was looking for. Ideally this should get added to a plugin so that you...
So the first step is to add the recaptcha api call to before the close head tag. <script src='https://www.google.com/recaptcha/api.js'></script> </head> Then within the form itself before the submit button or where ever you would like the reCaptcha...
Here is a function that returns whether or not PHP Session is activated or now. function is_session_started() { if ( php_sapi_name() !== ‘cli' ) { if ( version_compare(phpversion(), ‘5.4.0', ‘>=') ) { return session_status() === PHP_SESSION_ACTIVE...