Lubinik Learning

Training mode

The Loop & Template Tags

Time remaining:

0 / 20 answered

  1. 1. What is The Loop in WordPress?

    What is The Loop in WordPress?
    Hint

    Identify the role of the WordPress function or extension point.

  2. 2. What does have_posts() check?

    What does have_posts() check?
    Hint

    Identify the role of the WordPress function or extension point.

  3. 3. What does the_post() do inside The Loop?

    What does the_post() do inside The Loop?
    Hint

    Identify the role of the WordPress function or extension point.

  4. 4. Which structure represents the basic WordPress Loop?

    Which structure represents the basic WordPress Loop?
    Hint

    Identify the role of the WordPress function or extension point.

  5. 5. What should a theme consider rendering when have_posts() is false?

    What should a theme consider rendering when have_posts() is false?
    Hint

    Identify the role of the WordPress function or extension point.

  6. 6. What is a WordPress template tag?

    What is a WordPress template tag?
    Hint

    Identify the role of the WordPress function or extension point.

  7. 7. What does the_title() normally do inside The Loop?

    What does the_title() normally do inside The Loop?
    Hint

    Identify the role of the WordPress function or extension point.

  8. 8. Which function returns a post title instead of directly displaying it?

    Which function returns a post title instead of directly displaying it?
    Hint

    Identify the role of the WordPress function or extension point.

  9. 9. What does the_content() normally display?

    What does the_content() normally display?
    Hint

    Identify the role of the WordPress function or extension point.

  10. 10. What does the_excerpt() normally display?

    What does the_excerpt() normally display?
    Hint

    Identify the role of the WordPress function or extension point.

  11. 11. What does the_permalink() output?

    What does the_permalink() output?
    Hint

    Identify the role of the WordPress function or extension point.

  12. 12. Which function returns a permalink for later use?

    Which function returns a permalink for later use?
    Hint

    Identify the role of the WordPress function or extension point.

  13. 13. What kind of information do author template tags provide?

    What kind of information do author template tags provide?
    Hint

    Identify the role of the WordPress function or extension point.

  14. 14. Why should a theme distinguish publication date from modification date?

    Why should a theme distinguish publication date from modification date?
    Hint

    Identify the role of the WordPress function or extension point.

  15. 15. What does the_post_thumbnail() display?

    What does the_post_thumbnail() display?
    Hint

    Identify the role of the WordPress function or extension point.

  16. 16. What does has_post_thumbnail() check?

    What does has_post_thumbnail() check?
    Hint

    Identify the role of the WordPress function or extension point.

  17. 17. What does post_class() help add?

    What does post_class() help add?
    Hint

    Identify the role of the WordPress function or extension point.

  18. 18. What does body_class() help add?

    What does body_class() help add?
    Hint

    Identify the role of the WordPress function or extension point.

  19. 19. Why might a template create a secondary WP_Query?

    Why might a template create a secondary WP_Query?
    Hint

    Identify the role of the WordPress function or extension point.

  20. 20. Why call wp_reset_postdata() after a secondary loop that used the_post()?

    Why call wp_reset_postdata() after a secondary loop that used the_post()?
    Hint

    Identify the role of the WordPress function or extension point.