今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
The Loop in WordPress
- [Instructor] While you're not going to dive into too much WordPress code here it's important to understand the concept of The Loop, that's capital T capital L, in WordPress. This is the code used to display posts. The loop belongs in template files which you can take a look at in local by flywheel if you right click on your WordPress site, and then click reveal in finder, then click on WordPress, App, Public. Here are all your WordPress files. In wpcontent, themes, you'll find all of the themes installed on your WordPress site and the most recent one as far as the name of the year goes is going to be the active one. So 2020 is the active theme for our site. These are the template files that are going to drive your WordPress site and work with a set of built-in functions to help you display post content. The loop is primarily made up of template tags. You see one on the screen here called the_title. You'll notice on…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
Comparison operators and the truth4 分钟 26 秒
-
(已锁定)
Logical operators5 分钟 55 秒
-
(已锁定)
Creating if/else statements6 分钟 53 秒
-
(已锁定)
Conditional tags in WordPress1 分钟 19 秒
-
(已锁定)
Loops7 分钟 56 秒
-
(已锁定)
The Loop in WordPress2 分钟 54 秒
-
(已锁定)
Challenge: Loop through an array of information1 分钟 18 秒
-
(已锁定)
Solution: Loop through an array of information5 分钟 28 秒
-
-
-
-