Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:49Length:3.5 hours
  • Overview
  • Transcript

4.10 The Transients API

As we learned in the shortcodes chapter, we shouldn’t query the Twitter API with every pageload. We should instead be sure to cache the tweets every five minutes.

1.Introduction
1 lesson, 00:48

Free Lesson
1.1
Course Overview
00:48

2.Hooks
4 lessons, 21:00

Free Lesson
2.1
Make Your Plugin Visible to WordPress
02:34

2.2
Filter Hooks
04:32

2.3
Action Hooks
03:48

2.4
Final Project: Additional Category Links
10:06

3.Shortcodes
8 lessons, 44:46

3.1
Activating the Plugin
02:48

3.2
The 'add_shortcode' Method
03:27

3.3
Attributes
03:06

3.4
Specifying Content
01:49

3.5
The 'shortcode_atts' Function
04:33

3.6
Tweets Project (Part 1)
07:50

3.7
Tweets Project (Part 2)
10:17

3.8
Tweets Project (Part 3)
10:56

4.Widgets
12 lessons, 47:03

4.1
Introduction to Widgets
01:29

4.2
Making the Plugin Visible to WordPress
02:08

4.3
The 'Skin' for a Widget
04:52

4.4
The Form Method
05:43

4.5
The Widget Method
04:41

4.6
Registering the Twitter Widget
01:58

4.7
Creating the Twitter Widget Form
03:30

4.8
Querying the Twitter API
06:45

4.9
Regular Expressions
04:11

4.10
The Transients API
04:57

4.11
Echoing the Widget's HTML
03:28

4.12
Completing the Widget
03:21

5.WP_Cron
6 lessons, 18:51

5.1
Schedule Recurring Events
05:54

5.2
Custom Intervals for Events
01:49

5.3
Unschedule Events
03:10

5.4
Create an Options Page
02:05

5.5
Displaying Scheduled Events
04:04

5.6
Schedule Single Events
01:49

6.Options and Settings APIs
10 lessons, 46:40

6.1
Options and Settings APIs Overview
01:21

6.2
Adding an Options Page
04:54

6.3
Beginning the Form
02:55

6.4
Refactoring the Code
04:01

6.5
The Settings API
11:35

6.6
Creating the Submit Button
01:28

6.7
Saving and Updating Options
05:10

6.8
Uploading and Displaying Images
07:57

6.9
Saving and Displaying Dropdowns
05:10

6.10
Testing the Final Product
02:09

7.Custom Post Types
7 lessons, 29:34

7.1
Custom Post Types Overview
02:34

7.2
Registering a New Post Type
04:46

7.3
Menu Positioning and Custom Icons
02:12

7.4
Specifying What the Post Type Supports
01:57

7.5
Custom Taxonomies
06:11

7.6
Custom Meta Boxes
05:23

7.7
Creating a Shortcode for Testing
06:31

8.Conclusion
1 lesson, 00:44

8.1
Conclusion
00:44