strtotime not working

The current_time() function whenever passed a timestamp as a parameter will return a UNIX Timestamp which is already been run through strtotime(). By passing that variable to strtotime() you’re trying to timestamp a timestamp. Try this instead: $tomorrow_time = date( ‘Y-m-j’, $time_now );

How user can download a specific file?

Add the files to your Media Library. The media library will give you a link to the files. Then make posts with the name of the file for title and a link to the media library created link to the path for your file in it. Now the default WP search widget will find the … Read more