﻿1
00:00:00,510 --> 00:00:05,550
In this video you'll explore the different ways to update WordPress plugins and themes how you can be

2
00:00:05,550 --> 00:00:11,150
notified of plug in and theme update availability and some quick fixes in case something's not working.

3
00:00:11,150 --> 00:00:16,470
After an update because plugins and themes are the responsibility of the author and developer and are

4
00:00:16,470 --> 00:00:22,380
generally works in progress it makes sense that by updating you could potentially introduce incompatibilities

5
00:00:22,410 --> 00:00:23,700
or other errors.

6
00:00:23,820 --> 00:00:27,180
Still it's best to update as soon as there's a new version available.

7
00:00:27,180 --> 00:00:32,670
For security reasons but having a quick restore available makes it painless to keep everything updated

8
00:00:32,670 --> 00:00:33,560
properly.

9
00:00:34,600 --> 00:00:39,430
The first thing I'll do and suggest that you do also is go back into our WordPress dashboard at the

10
00:00:39,430 --> 00:00:45,550
fire weed photography or our local installation or the server installation that we had been working

11
00:00:45,550 --> 00:00:46,850
on before.

12
00:00:46,870 --> 00:00:50,080
Here I am on the Welcome to WordPress 4.6 page.

13
00:00:50,140 --> 00:00:55,810
After doing an update of the word press corps files from the last video I can still see that I have

14
00:00:55,840 --> 00:00:58,080
14 updates available.

15
00:00:58,190 --> 00:01:04,540
If I roll over this arrow here it says 10 plugin updates for theme updates.

16
00:01:04,540 --> 00:01:11,450
Now as I said before plugin updates can be very important especially for security reasons.

17
00:01:11,470 --> 00:01:18,520
You should get a notification on your dashboard here and sometimes via email if you're monitoring security

18
00:01:18,520 --> 00:01:20,820
for your web sites in other ways.

19
00:01:20,890 --> 00:01:26,500
We'll talk about monitoring security for multiple Web sites for yours and client sites in a future video.

20
00:01:26,560 --> 00:01:31,200
But for now let's talk about updating plugins and the different ways that you can do so.

21
00:01:32,040 --> 00:01:35,760
First let's talk about updating plugins individually.

22
00:01:35,820 --> 00:01:42,200
If you roll over the plugins area and just click installed plugins that will show you all your plug

23
00:01:42,200 --> 00:01:48,560
ins and you can see via a color indication which plugins are due for an update.

24
00:01:48,600 --> 00:01:54,060
You can see there's a yellow and orange indicator here under each of the plug ins that are due for an

25
00:01:54,120 --> 00:01:58,670
update whether they're active or not on the Web site.

26
00:01:58,680 --> 00:02:04,650
First thing I'll do is just go down to one of the plug ins I have that's due for an update and if you

27
00:02:04,650 --> 00:02:10,620
click here under details it will open a modal window where you can look at what's been updated in the

28
00:02:10,620 --> 00:02:11,940
latest version.

29
00:02:12,450 --> 00:02:20,010
So this plug in version 5.4 9 for all in one WP migration has been tested up to 4.6.

30
00:02:20,130 --> 00:02:27,180
So now that I have version 4.6 installed of Wordpress I can go ahead and feel comfortable updating this

31
00:02:27,220 --> 00:02:34,290
plugin so I can update just this plugin by going over here and clicking update now you'll see that it'll

32
00:02:34,290 --> 00:02:40,440
show an updating rotating set of arrows and when it's finished it'll give me a success message.

33
00:02:41,420 --> 00:02:47,870
I often like going in and updating plugins one at a time like this because I can go back and check the

34
00:02:47,870 --> 00:02:55,460
functionality of the site after updating each plugin especially those that I suspect might have a functionality

35
00:02:55,490 --> 00:02:59,150
error or a conflict when I make my update.

36
00:02:59,300 --> 00:03:02,500
For now that was just a backup and migrations plug in.

37
00:03:02,570 --> 00:03:05,310
So I'm not too worried about it now.

38
00:03:05,420 --> 00:03:10,910
If I update the code snippets plug in for example I just hit update now and let it update.

39
00:03:11,150 --> 00:03:17,570
If I have any code active on my website I go and check the functionality of that code right away and

40
00:03:17,570 --> 00:03:24,550
make sure as I refresh the web page that everything that I have custom coded is working well.

41
00:03:24,620 --> 00:03:28,970
Now what if I update a plug in and it breaks the website.

42
00:03:28,970 --> 00:03:35,710
Or even worse yet gives me the white screen of death where I can't even get in to my wordpress dashboard.

43
00:03:35,780 --> 00:03:36,820
What can you do.

44
00:03:37,130 --> 00:03:39,470
And I hope you're thinking oh that's easy Greg.

45
00:03:39,470 --> 00:03:46,120
We learned that in a previous chapter where we broke a Web site and restored it by renaming the plugin

46
00:03:46,130 --> 00:03:53,420
file folder thereby deactivating a plug in and getting back into the Wordpress dashboard to deal with

47
00:03:53,420 --> 00:03:54,400
our errors.

48
00:03:54,590 --> 00:03:55,820
And that would be correct.

49
00:03:55,820 --> 00:04:03,380
So here in my local environment I don't need to log in via FCP but I can go into the Windows Explorer

50
00:04:03,650 --> 00:04:10,310
and look at my WP content folder and my plugins folder and I can look at the plug ins folders that are

51
00:04:10,550 --> 00:04:16,670
there that I can rename and deactivate manually try that on your own site.

52
00:04:16,670 --> 00:04:22,730
Pass the video now and choose an active plug in that you can deactivate manually by going into the file

53
00:04:22,730 --> 00:04:31,280
structure either via FCP inside of the site Ground file manager via the see panel or using Windows Explorer

54
00:04:31,520 --> 00:04:37,240
or the finder on a Mac I hope that went well for you.

55
00:04:37,240 --> 00:04:43,270
I'm going to choose the all in one W.P. migration plugin just to do my deactivation test because I know

56
00:04:43,270 --> 00:04:49,030
it's an activated plug in on this Web site and since it's my local development environment is easy for

57
00:04:49,030 --> 00:04:53,670
me to go in with Windows Explorer and find my file structure.

58
00:04:53,890 --> 00:04:59,470
So inside of Windows Explorer I know that in my local development environment it's under Seacole and

59
00:04:59,800 --> 00:05:08,980
under the map folder and if I look under H.T. docs I have the live Desch site site which is the one

60
00:05:08,980 --> 00:05:09,840
that I'm working on here.

61
00:05:09,840 --> 00:05:17,540
You can see in the U R L It's right there open up windows explorer one more time inside W.P. content.

62
00:05:17,730 --> 00:05:24,750
I have my plug ins folder and there's the all in one W.P. migration folder that contains the plug and

63
00:05:24,750 --> 00:05:25,420
files.

64
00:05:25,530 --> 00:05:31,200
So I've clicked a second time to highlight the name of the plug in and I'm just going to type Dasch

65
00:05:31,860 --> 00:05:35,790
rename and that'll deactivate the plug in for me.

66
00:05:35,820 --> 00:05:42,060
So if I go back into the Wordpress dashboard I'm on the plugins page I can just refresh the page and

67
00:05:42,060 --> 00:05:46,440
you can see that the plug in will become deactivated.

68
00:05:46,440 --> 00:05:50,410
Here it is here it's showing it inside the database but it shows me an error.

69
00:05:50,460 --> 00:05:52,350
It's been deactivated due to an error.

70
00:05:52,350 --> 00:05:54,870
The plugin file does not exist.

71
00:05:54,870 --> 00:05:59,710
That just means that it's looking for it under the original name and it can't find it.

72
00:05:59,760 --> 00:06:01,490
So it's deactivated this plug in.

73
00:06:01,500 --> 00:06:07,380
And if that were causing the problem if my site had gone down or something I couldn't restore my wordpress

74
00:06:07,380 --> 00:06:12,210
dashboard and my web site I just manually deactivating that in.

75
00:06:12,510 --> 00:06:16,470
So I'll just quickly go back and re activate this.

76
00:06:16,470 --> 00:06:23,940
Now if I if I rename it to the original name and then I go back and refresh the page again it doesn't

77
00:06:24,030 --> 00:06:26,280
automatically reactivate the plug.

78
00:06:26,310 --> 00:06:31,710
You have to do that through the Wordpress dashboard so I can leave that plug in de-activated and try

79
00:06:31,710 --> 00:06:33,270
to mitigate the problem.

80
00:06:33,330 --> 00:06:39,600
If it's the one causing the problem but I know it wasn't so I can re-activated again if I want to.

81
00:06:39,630 --> 00:06:46,260
Now another way to update your plugins is to go under dashboard to the updates page and this shows you

82
00:06:46,260 --> 00:06:53,590
all the updates including WordPress core plug in files as well as themed files down at the bottom.

83
00:06:53,820 --> 00:07:00,270
So I can see that I have all of these plug ins that are scheduled to be updated and if I want to I can

84
00:07:00,270 --> 00:07:06,810
select them in a group or I can even click select all which will check all the boxes and I can click

85
00:07:07,080 --> 00:07:08,740
Update plugins.

86
00:07:08,760 --> 00:07:14,850
Now this could take a little bit of time depending on how large the plug ins are and how fast the server

87
00:07:14,850 --> 00:07:19,260
is and how many you have a pause the video now and let the update finish.

88
00:07:20,400 --> 00:07:27,540
As you can see I have a nice complete report after all of my plugin updates and a green line for each

89
00:07:27,540 --> 00:07:30,150
of the ones that successfully updated.

90
00:07:30,150 --> 00:07:33,900
Hopefully you'll have each of them update successfully for you.

91
00:07:33,910 --> 00:07:38,190
You can see that it gives you a report at the top that it is enabling a maintenance mode and that's

92
00:07:38,190 --> 00:07:44,820
basically a white screen with some black copy on the live Web site that says maintenance mode is in

93
00:07:44,820 --> 00:07:45,360
progress.

94
00:07:45,360 --> 00:07:47,020
Please check back later.

95
00:07:47,100 --> 00:07:52,650
And then at the bottom it disabled maintenance mode and all updates have been completed.

96
00:07:52,650 --> 00:07:57,090
You can return to the plugins page or return to the Wordpress updates page.

97
00:07:57,090 --> 00:07:59,980
But sometimes because this takes a little while.

98
00:08:00,120 --> 00:08:06,120
I'd rather do each plug in individually and periodically test the Web site to make sure that there's

99
00:08:06,120 --> 00:08:13,230
no conflicts during the process instead of doing a super large update all at once.

100
00:08:13,230 --> 00:08:19,800
Another issue potentially is that the longer you wait over time the more plug ins need updates and the

101
00:08:19,800 --> 00:08:27,270
more chance you have of a conflict between two plug ins or between a version of Wordpress and the plug

102
00:08:27,270 --> 00:08:28,510
in that you're updating.

103
00:08:28,530 --> 00:08:33,040
I like to update plug ins as often as possible and is convenient.

104
00:08:33,210 --> 00:08:40,530
And then the next video will talk about ways to monitor multiple sites from one dashboard like here.

105
00:08:40,530 --> 00:08:43,760
The one I use is managed W.P..

106
00:08:43,810 --> 00:08:50,590
In any case let's return to the Wordpress updates page and we can look at what's left and I can see

107
00:08:50,590 --> 00:08:53,860
that I do have the latest version of Wordpress under plug ins.

108
00:08:53,860 --> 00:09:01,190
It says that all plug ins are up to date and it shows that I have four themes ready for an update.

109
00:09:01,250 --> 00:09:03,240
Now let's talk about themes.

110
00:09:03,260 --> 00:09:09,470
I have three default WordPress themes that came with my wordpress installation originally that are here

111
00:09:09,650 --> 00:09:11,950
and I know I'm not going to be using it all.

112
00:09:12,200 --> 00:09:18,920
So instead of clogging up my web site and my file structure and database with themes that I don't need

113
00:09:19,280 --> 00:09:23,900
I'll often go ahead and delete these themes when they're ready for an update and they're giving me that

114
00:09:23,900 --> 00:09:27,130
little nag message up here or up here.

115
00:09:27,320 --> 00:09:35,030
And so what I'll do is go under appearance and themes and unfortunately it still takes a couple of clicks

116
00:09:35,030 --> 00:09:37,440
to delete themes that you don't need.

117
00:09:37,580 --> 00:09:38,980
But here's how it's done.

118
00:09:38,990 --> 00:09:40,960
I'll just go here and click theme details.

119
00:09:41,030 --> 00:09:46,490
And once it shows me the big detail screen I can click delete and I have to confirm that I want to delete

120
00:09:46,820 --> 00:09:49,890
that theme takes just a couple of seconds.

121
00:09:49,970 --> 00:09:50,920
And there we go.

122
00:09:50,960 --> 00:09:56,570
So I go into each of these themes that is not active and that I don't need and I'll make these three

123
00:09:56,840 --> 00:10:04,270
clicks per theme just to delete them out of my system the details delete and OK

124
00:10:07,040 --> 00:10:07,310
great.

125
00:10:07,310 --> 00:10:13,790
Now what's left we could see under our theme screen that I have the original manual child theme that

126
00:10:13,790 --> 00:10:20,840
we created in one of our previous chapters and we have another child theme that we created using the

127
00:10:20,840 --> 00:10:24,140
plug in right here and that is the active theme.

128
00:10:24,290 --> 00:10:29,550
And I have the parent theme called affinity which has a new version available.

129
00:10:29,600 --> 00:10:37,700
Now here's where updating our themes is important and it's just good to point out that since we're using

130
00:10:37,730 --> 00:10:43,940
a child theme we don't need to update the child theme because it's not made by anyone else but ourselves

131
00:10:44,090 --> 00:10:50,660
but the parent theme can be updated and we won't overwrite any of the changes we've made in the child

132
00:10:50,660 --> 00:10:53,840
themed code by updating the parent theme.

133
00:10:53,960 --> 00:10:59,750
So it's a good idea just to click Update now that will leave us on the same screen and when the parent

134
00:10:59,750 --> 00:11:06,560
theme gets updated none of the changes in our child theme get over written great.

135
00:11:06,620 --> 00:11:11,720
I've got a success message read appear at the top you know I could have done that theme update just

136
00:11:11,720 --> 00:11:17,840
by going to the updates screen where I was before and doing it just like we did the plugins down at

137
00:11:17,840 --> 00:11:18,570
the bottom.

138
00:11:18,860 --> 00:11:24,920
Well now I don't have an update Knag right here at the top nor any notifications down on my side menus

139
00:11:24,920 --> 00:11:27,780
under plug ins or under updates here.

140
00:11:27,950 --> 00:11:34,580
And if I go to this Updates page you could see that everything is updated and there now I do want to

141
00:11:34,580 --> 00:11:41,210
go over to my Web site itself make sure I refresh the page make sure there's no problems with my theme

142
00:11:41,990 --> 00:11:44,270
or on my Web site at all.

143
00:11:44,300 --> 00:11:48,210
This looks great just like we had set it up before.

144
00:11:48,260 --> 00:11:53,600
Excellent and I'll go down to the bottom and make sure my customization here in the child theme is still

145
00:11:53,600 --> 00:11:56,220
active and looking good.

146
00:11:56,220 --> 00:11:57,300
That looks great.

147
00:11:58,350 --> 00:12:04,530
Now it's worth noting that you can deactivate a theme if you introduce an update and it does break the

148
00:12:04,530 --> 00:12:06,080
Web site in some way.

149
00:12:06,240 --> 00:12:13,230
You would just go back into your file structure either via FCP or via the Explorer or the finder.

150
00:12:13,230 --> 00:12:17,020
If you're working locally go back into the WP content folder.

151
00:12:17,100 --> 00:12:23,550
Open up themes and identify which theme you just updated that's causing the problem and you can go through

152
00:12:23,550 --> 00:12:30,740
the same technique by just renaming that theme and then it will deactivate itself.

153
00:12:30,940 --> 00:12:35,980
In this lesson you worked on one of your previous WordPress installations either locally or at your

154
00:12:35,980 --> 00:12:39,190
live server and updated plugins and themes.

155
00:12:39,220 --> 00:12:43,190
You also looked at how you would go about deactivating a plug in or theme.

156
00:12:43,270 --> 00:12:48,310
In the case that the update has caused a problem in the next video we'll look at some different options

157
00:12:48,310 --> 00:12:51,730
for managing multiple web sites from one central location.

158
00:12:51,730 --> 00:12:56,620
There are a bunch of different third party services many free with paid upgrades that can make it easier

159
00:12:56,620 --> 00:13:00,250
to manage updates for multiple sites using this process.

160
00:13:00,250 --> 00:13:05,470
You can manage a group of Wordpress sites for yourself or for your clients saving time by accessing

161
00:13:05,470 --> 00:13:09,550
them as a group instead of having to log into each one individually.

162
00:13:09,670 --> 00:13:10,180
See their

