by Adi Purdila
Lessons:13Length:1.7 hours

For full access to all 13 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
3.4 Creating Working Image Upload Fields
When dealing with image upload fields, we have two options. The first one is to use an input with the type file
and write all the upload-related PHP ourselves.
Alternatively, we could use the new fancy image uploader from WordPress that allows us not only to upload an image, but also to select one from the media library.
Let’s go with the second option!
1.Introduction3 lessons, 10:54
3 lessons, 10:54
Free Lesson 1.1Introduction00:37
Free Lesson
1.1
Introduction
00:37
Free Lesson 1.2Theme Options Page vs. WordPress Customizer04:47
Free Lesson
1.2
Theme Options Page vs. WordPress Customizer
04:47
1.3Using Existing Solutions05:30
1.3
Using Existing Solutions
05:30
2.Coding a Simple Page From Scratch4 lessons, 33:07
4 lessons, 33:07
2.1Adding the Administration Menu07:50
2.1
Adding the Administration Menu
07:50
2.2Creating a Settings Section and Field08:33
2.2
Creating a Settings Section and Field
08:33
2.3Displaying the Fields08:34
2.3
Displaying the Fields
08:34
2.4Sanitizing Data08:10
2.4
Sanitizing Data
08:10
3.Creating a More Complex Page5 lessons, 58:33
5 lessons, 58:33
3.1Creating Section and Field Definitions08:32
3.1
Creating Section and Field Definitions
08:32
3.2Initializing Options and Creating the Admin Menu04:41
3.2
Initializing Options and Creating the Admin Menu
04:41
3.3Registering Settings and Displaying Fields and Sections16:45
3.3
Registering Settings and Displaying Fields and Sections
16:45
3.4Creating Working Image Upload Fields21:02
3.4
Creating Working Image Upload Fields
21:02
3.5Adding Proper Field Sanitization07:33
3.5
Adding Proper Field Sanitization
07:33
4.Conclusion1 lesson, 01:08
1 lesson, 01:08
4.1Final Words01:08
4.1
Final Words
01:08
Continue watching with Elements
Continue watching with Elements