Attach a Server File to a Post

Like the last post, sometimes what we want isn’t to attach an uploaded file, but perhaps some setup files or other default image files that we know will need to get setup on a page. Here is a function for that.

Now all we need to do to attach this image is call the function like so: