I set my /var/www/wordpress folder to 744 permissions and all of the files within disappeared.
If I right click the /wordpress folder and click properties, it says there are 0 bytes in the folder but that shouldn't be the case.
I don't think the files are vanished, but just have become inaccessible to you due to a possibly erroneous chmod mode. Here's why:
So, you probably wanted to set mode
If your file manager reports it has not contents, you're probably not the owner of that directory (presuming your file manager is running as your own user account). So, try to fix this as root (for example using
And you'll be able to access your file again, probably.