Within the editor, blocks are rendered as JavaScript. How are blocks rendered on the front end of a site?
as plain HTML
as a React component
as JavaScript comments
as HTML comments
Browse topic-based Programming Technologies practice sets.
94 practice sets · Page 2 of 5
Within the editor, blocks are rendered as JavaScript. How are blocks rendered on the front end of a site?
as plain HTML
as a React component
as JavaScript comments
as HTML comments
Why can't you modify the query in a template page?
The query can only be run inside the Loop.
You can modify the query in a template page if you use pre_get_posts().
According to WordPress best practices, the query should only be modified in functions.php.
Due to execution order, the query has already run by the time a template is loaded.
Who owns the trademark for WordPress and WordCamp names and logos?
WordPress Foundation (The WordPress Foundation owns and oversees the trademarks for the WordPress and WordCamp names and logos.)
WordPress.com
Matt Mullenweg
Automattic
Which WP-CLI command would you use to manage the capabilities of a user role?
wp admin
wp manage
wp cap
wp role
Which WordPress setting would you use to make page URLs look like http://example.com/my-page/ instead of the default http://example.com/?p=21/?
Writing
Permalinks
Pretty URLs
Reading
Which Wordpress conditional would you use to determine if you were on a single page?
is_archive()
is_page()
is_page_template()
is_single()
Which software development principle, often used in WordPress, aims to reduce the repetition of code?
RRR
WET
DRY
KISS
Which of these is NOT a part of the internationalization and localization process?
using a gettext function to wrap translatable strings when writing code
installing/using the WordPress Multilingual Plugin
using a tool like Poedit to parse source code and extract translatable strings into a POT file
translators translating the POT file into a PO file, one for each language
Which of these does not impact your site speed?
caching
your web host
inactive plugins
content delivery network (CDN)
Which of these CSS classs naming convention is correct according to WordPress CSS Coding Standards?
.selector-name
.selector_name
.selectorName
div.selector_name
Which of these are the minimum files required to make a child theme?
index.php functions.php
index.php style.css script.js
functions.php style.css script.js
functions.php style.css
Which of these are best practices in accessibility?
Do not skip heading levels.
Be sure there is proper color contrast between background and text.
If an activity can be completed with a mouse, it must also be accessible by keyboard.
all of these answers
Which of the following must have underlined links in order to meet WCAG 2.0 accessibility standards?
links on images
links in user interface controls
links in a nav bar
links in paragraph text
Which of the following file types is NOT involved in translating WordPress?
.po
.pot
.mot
.mo
Which is NOT a suggested performance improvement for your WordPress website?
The site should run the most recent version of WordPress.
Remove or inactivate unnecessary plugins.
UTF8 is supported.
Choose a very recent version of PHP.
Which is not a benefit of DRY code?
The code can be reused.
The code is less abstracted.
The code is easier to read.
The code is easier to maintain.
Which is a best practice for working with WordPress CSS?
Use !important next to styles if they don't give you the result you want.
Use hyphens in class names.
Use spaces to indent each property.
Avoid CSS shorthand for proper documentation.
Which folder in a WordPress install is not affected by an automatic WordPress update?
/wp-admin
root
/wp-content
/wp-includes
Where do you configure global settings for comments on your WordPress site?
Tools screen
wp-config.php
cPanel
Discussion Settings
Where can you find the official WordPress documentation and usage guide?
support.wordpress.com
developer.wordpress.com
developer.wordpress.org
support.wordpress.org