- Hey, y'all on this episode of WordPress Wednesday
I'm gonna show you how to use a totally free plugin,
this one right here, to help you replace an image
or even a file on your WordPress website.
Now, those of you who are all for just getting the solution
and moving on, you can probably skip the rest of this video.
Go grab that plugin, drop it in and have some fun.
For those of you who are curious about the whole process,
I'm gonna show you right now
how to walk through using this step by step.
The example I'm gonna show you today
is how to overwrite a PDF file.
The same thing would work though, even for an image.
(upbeat music)
Hey, y'all my name is Kori Ashton
and this is brought to you by Learn Dash.
When you are ready to get your courses
on your WordPress website,
be sure to check out Learn Dash.
I'll put a link in the description box below
so you can check that out.
All right, getting on to the tutorial.
So the example I'll start with is this,
is an actual client of mine and their restaurant
here locally in San Antonio.
And they change their menu quite often.
They're a phenomenal kind of farm to table, very fresh menu,
so they're always changing their menu offerings.
Well, the client doesn't know how to code,
so they need a easy way to upload these themselves
without leaning on a support ticket.
So, when you click on these
it jumps you over to an actual PDF file, right?
All the client wanted to do was to change that PDF file.
And the easiest way I found was this tool,
this plugin, that allows us to overwrite that file,
which means that they'll never have to change
the link name ever, right?
It'll just override the actual PDF file that lives here,
giving it the same link,
which means these buttons work perfectly every time.
Another reason why you may wanna use this plugin
is to override an image that already lives
perhaps in multiple places on your website.
So if you're trying to replace one specific image,
you're not really sure where it lives
throughout the whole website,
you can go into your media library, select that one image,
upload a new file, and it will automatically drop in
anywhere else throughout the whole website
that that image lives.
Let me show you how the plugin actually works.
So the example here is download full menu.
Do you see this button right here?
And let's say that, literally, that button was everywhere.
Normally you'd have to go in and change that link
anytime you updated that PDF file.
Currently, if I click on that, it opens up my slide one
is what I'm calling it for now, right?
Let's imagine this is our menu.
So, this file name lives in all sorts of places
on this page, multiple places.
I don't wanna have to change the link.
I just want to refresh the file or override the file.
So, we're gonna jump into your dashboard.
- [Announcer] When your business is ready to get online,
get your ready made website presshappi.com.
(upbeat music)
- You're gonna go to where that file lives,
which is inside of your media library, right?
And you're gonna search in here for that file.
If you have a ton of files,
you can always just change the file type up here,
and that should take you over to a PDF.
If you're looking to overwrite an image,
you might have to do a search over here
and maybe look for the file name,
but the one I'm wanting to overwrite right now
is ExampleFile.pdf.
Well, you've gotta add in that plugin.
So let's go to Plugins and say, Add New.
We are going to be looking for replace image.
And it's this one right here by Aspen Grove Studios.
Now, it says as of today
it's been untested with my version of WordPress.
I always want you to be aware of that,
but just to let you know,
I have tested this and it works perfectly fine.
So, you just always wanna kind of be aware of that.
Another really valuable thing to see
is this 10,000 plus active installs
and really great reviews.
So, you've got other options
and you might wanna test some of these other plugins,
but for now I'm gonna be using this one.
Click Activate.
Now that you have that plugin installed,
when you go back to your media library
and look for that specific file,
it happens to be my first one right here,
I've got a new option that lives right here.
I'm gonna zoom in for a second there.
Now, can you see that a little bit?
It says Replace Image.
"Warning: Replacing this image with another one
will permanently delete the current image file,
and the replacement image will be moved
to overwrite this one," right?
So, just want you to know,
as soon as you do this and you're trying to overwrite
this PDF file, it will be gone.
It will be replaced.
So, it says replace image, but it works with a PDF as well.
I'm gonna click replace image.
I am going to upload my new file.
Select Files.
This is my new correct file here.
There it is. It drops right in.
Now, we click the magic blue button to Replace Image
or replace PDF,
and this is going to completely overwrite this file.
Replace Image and done.
You can see that my library is actually refreshed already.
That first slide one, that first PDF file
is gone completely.
This one now lives here with the exact same file name,
which makes that link clickable still.
It makes it still work perfectly
and associates that link with this file now.
So let's go back to the front of the website and test it.
Hey, y'all, I'm gonna pause for one second
and tell you that if you're running
a really strong caching plugin,
maybe a CDN on your website, this might not be in real time.
You may have to stop for a minute and go dump your cache
on your browser so that you see that file in real time.
That's the only thing that I've seen
that might cause a little bit of a delay here.
But let's test the button.
Clicking a hard refresh on this page
allows it to fully refresh
and we're gonna click download full menu.
And we see the new file.
So, for my client, all they have to do
is log into the WordPress website,
go into the media library,
find their old file and follow this process to override it.
And they're done.
They don't have to go back
into the page or into the website deeper
and try to change links or update links.
This is a really cool process that really works.
Give it a try.
Y'all, you can get really creative
with how you use this plugin.
It was the perfect solution for my client
and I plan on using it even more in the future.
If you do use this plugin and you enjoy it,
I'm gonna ask that you give a great review
to the plugin creators.
Since this is a free resource,
that's one of the coolest things you can do for them.
Please click like and subscribe,
because that's pretty cool for me,
and come back next Wednesday.
I'll be right here helping you improve your online marketing
inside the world of WordPress.
See y'all next time.
Bye-bye everyone.
(upbeat music)