Which of the following is NOT a suggested security improvement for your WordPress website?
The site should communicate with WordPress.org.
Remove inactive themes.
Do not output debug information.WordPress updates are accomplished manually only.
4
Browse topic-based Programming Technologies practice sets.
94 practice sets · Page 1 of 5
Which of the following is NOT a suggested security improvement for your WordPress website?
The site should communicate with WordPress.org.
Remove inactive themes.
Do not output debug information.WordPress updates are accomplished manually only.
4
In a standard template file, how often does the WordPress Loop run?
It runs once per post in the database.
It runs once.
The Loop doesn't run in template files.
It runs once per fetched post.
If your WordPress site is seriously compromised, what is the best course of action to return your site to good health?
Determine the date of the attack and restore your site to a backup point prior to that date.
Hire a third-party service to clean up your site because it is difficult for someone who is not a WordPress security expert to find and remove all traces of an attack.
Manually delete suspicious files on the server and delete any database tables that are not core WordPress.
Change your hosting password, your WordPress admin password, and your database password.
If you wanted to register a custom post type, which hook would you use?
register_post_type
add_meta_box
wp_head
init
If you wanted to debug some JavaScript, which method would you use to display data in your browser console?
windows.alert()
console.log()
document.write()
innerHTML
If you have pretty permalinks enabled on a WordPress site, the REST API index is exposed by appending what to the end of the site URL? (for example, http://example.com/answer/) Note that the index provides information regarding which routes are available for that particular WordPress install.
If you activate or update a plugin and it breaks your site so that you cannot manage it via wp-admin, how can you disable the plugin?
all of these answers
Access the WordPress install via WP-CLI. Run the following command: wp plugin deactivate offending-plugin.
Access site files via FTP and navigate to /wp-content/plugins/. Delete the folder of the plugin that you would like to disable or simply rename it.
Use phpMyAdmin to change the wp_options table's active_plugins option value to a:0:{}.
How would you use CSS to ensure your theme was mobile responsive?
Use CSS grid to create responsive layouts.
Use media queries to add breakpoints for different screen sizes.
Use Flexbox to create flexible page layouts.
all of these answers
How many minutes does it take to install WordPress according to the "Famous X-Minute Installation" instructions on WordPress.org?
5
30
15
10
For the majority of modern themes, what is the standard method used to customize various details of site appearance and features, such as changing the site description or adding a logo and favicons?
WordPress settings
Customizer
wp-config.php
Theme settings
Akismet is a plugin that comes automatically installed with WordPress. What does it do?
It connects your site to Google Analytics.
It displays a blog feed from websites similar to yours.
It protects your site from comment spam.
It hardens site security by enforcing strong passwords.
According to WordPress PHP coding standards for inline comments, how would you write a single-line comment in a PHP document?
// This is a single line comment
/* _ This is a single line comment._/
// This is a single line comment.
This is a single line comment
You would use a post instead of a page when the content is
for a top-level menu item
nested (has a parent/child relationship with another piece of content)
when the content is part of a blog.
evergreen
You have a search bar on your site. You would like to use a to make the word "Search" visible to screen readers, but you don't want to display the word "Search" on the screen. How can you accomplish this?
Assign an ARIA state of "hidden" to the label, like this: Search
Use the built-in WordPress CSS class .screen-reader-text to hide the text from screen, like this: Search
Create a custom CSS class to set a large negative value to the text-indent property to hide the text off screen, like this: Search
The majority of users do not require a screen reader. Remove the label entirely.
You can harden your WordPress site security by adding __ to your wp-config.php file?
database usernames and passwords
unique keys and salts
accessibility
documentation
You can harden your Wordpress site security by adding _ to your wp-config.php file?
hashes and reCAPTCHA
database username and passwords
custom action hooks and filters
unique keys and salts
WP_Query is the WordPress query class that is used to fetch posts from the database. How would you create a new instance of this class?
$query = new query_posts();
$query = new WP_Query();
$query = query_posts();
$query = get_posts();
WordPress is translated, at least partially, in more than 200 locales. If you wanted to help translate WordPress into other languages, which contributor group would you join?
core
polyglots
accessibility
documentation
WordPress is an open-source software licensed under the GPL. This means that
derivative works must also be licensed as GPL
the software is free to use
the software is free to modify
all of these answers
Wordpress core and many plugins store data in the database in a special format as represented by the sample below. What format is this called? a:2:{i:0;s:27:"ari-adminer/ari-adminer.php";i:1;s:30:"atomic-blocks/atomicblocks.php";}
value
serialized data
PHP array
text array