PHP Flashcards

1
Q

[WordPress] Define custom post types

A

Custom post types are posts in WordPress that you define

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[WordPress] Define taxonomies

A

Taxonomies are the ways those posts are organized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

[WordPress] Definte custom fields

A

Custom fields are key/value pairs. They are:

  • Bound to a content type
  • Store custom information about your custom post
  • There are defaults, but ACF allows custom solutions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List 4 examples of when and why you might want ACF

A
  1. Need for content associated with a post, but separate from the basic content field (the editor)
  2. Need for more useful data entry fields
  3. Need for a high number of data entry fields
  4. Need for heavy customization of different post content
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the WordPress Loop?

A

A customizable while loop in PHP.

It’s a recipe for displaying repeating blocks of content, sets up the structure that each post will follow and repeats that structure until all posts have been displayed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where is the WordPress loop found?

A

Within all template files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly