Challenge - 5 Problems
Site Identity Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ component_behavior
intermediate2:00remaining
How does WordPress use the Site Title in themes?
In a typical WordPress theme, where does the Site Title appear by default?
Attempts:
2 left
💡 Hint
Think about where visitors first see the site name on most websites.
✗ Incorrect
The Site Title is typically shown in the header area of a WordPress theme, often wrapped in heading tags for SEO and accessibility.
📝 Syntax
intermediate2:00remaining
Which function outputs the Site Tagline in WordPress?
Select the correct WordPress function that prints the Site Tagline (description) in a theme template.
Attempts:
2 left
💡 Hint
The function starts with 'bloginfo' and takes a parameter.
✗ Incorrect
The function bloginfo('description') outputs the Site Tagline set in WordPress settings.
❓ state_output
advanced2:00remaining
What is the output of this code snippet in a WordPress theme?
Consider this PHP code in a WordPress theme header.php file:
What will be displayed if the Site Title is set to "My Blog"?
<?php if ( get_bloginfo('name') ) : ?>
<h1><?php bloginfo('name'); ?></h1>
<?php endif; ?>What will be displayed if the Site Title is set to "My Blog"?
Wordpress
<?php if ( get_bloginfo('name') ) : ?> <h1><?php bloginfo('name'); ?></h1> <?php endif; ?>
Attempts:
2 left
💡 Hint
get_bloginfo('name') returns the Site Title string.
✗ Incorrect
get_bloginfo('name') returns the Site Title string, so the condition is true and bloginfo('name') prints it inside
tags.
🔧 Debug
advanced2:00remaining
Why does this WordPress code not display the Site Logo?
Given this code in a theme template:
The site has a logo set in the Customizer, but nothing shows on the page. What is the most likely reason?
<?php the_custom_logo(); ?>
The site has a logo set in the Customizer, but nothing shows on the page. What is the most likely reason?
Wordpress
<?php the_custom_logo(); ?>
Attempts:
2 left
💡 Hint
Check if the theme declares support for custom logos.
✗ Incorrect
the_custom_logo() only outputs a logo if the theme has declared support for 'custom-logo' using add_theme_support(). Without this, the function outputs nothing.
🧠 Conceptual
expert2:00remaining
How does WordPress handle site identity for multisite networks?
In a WordPress multisite network, which statement about Site Title and Tagline is true?
Attempts:
2 left
💡 Hint
Think about how multisite allows independent sites.
✗ Incorrect
Each site in a WordPress multisite network has its own Site Title and Tagline settings editable separately in their admin dashboard.