Wordpress MCQ Multiple Choice Questions Answers - Page 2 for Practice
31. What is the default priority for an action hook or filter?
Correct Answer is: 10
32. What is the difference between an action and a filter?
Correct Answer is: Actions are used to add or remove code at runtime. Filters are used to modify data before it is either displayed in the browser or saved to the database.
33. What is the name of the open-source project that serves as a bug tracker and project management tool for WordPress?
Correct Answer is: Trac
34. What is the process of marking the code you write so that it is ready for translation?
Correct Answer is: internationalization
35. What is the role of a WordPress theme?
Correct Answer is: all of these answers
36. What service is used to manage user profile photos across any WordPress site?
Correct Answer is: Gravatar
37. What technique would you use to secure data before rendering it to a user?
Correct Answer is: validate and sanitize
38. What user role would you assign to someone so they can write and publish only their posts and no one else's?
Correct Answer is: Author
39. What would you do to improve your site's performance?
Correct Answer is: all of these answers
40. What's the primary difference between template tags prefaced with the versus get_the?
Correct Answer is: Template tags prefaced with the _ display a value. Template tags prefaced with get_the return a value.
41. When should you edit core WordPress files?
Correct Answer is: You should never edit WordPress core.
42. Where can you find the official WordPress documentation and usage guide?
Correct Answer is: developer.wordpress.org
43. Where do you configure global settings for comments on your WordPress site?
Correct Answer is: Discussion Settings
44. Which folder in a WordPress install is not affected by an automatic WordPress update?
Correct Answer is: root
45. Which is a best practice for working with WordPress CSS?
Correct Answer is: Use spaces to indent each property.
46. Which is not a benefit of DRY code?
Correct Answer is: The code is less abstracted.
47. Which is NOT a suggested performance improvement for your WordPress website?
Correct Answer is: UTF8 is supported.
48. Which of the following file types is NOT involved in translating WordPress?
Correct Answer is: .pot
49. Which of the following is NOT a suggested security improvement for your WordPress website?
Correct Answer is: Please check the page for the answer.
50. Which of the following must have underlined links in order to meet WCAG 2.0 accessibility standards?
Correct Answer is: links in paragraph text
51. Which of these are best practices in accessibility?
Correct Answer is: all of these answers
52. Which of these are the minimum files required to make a child theme?
Correct Answer is: functions.php style.css
53. Which of these CSS classs naming convention is correct according to WordPress CSS Coding Standards?
Correct Answer is: .selector_name
54. Which of these does not impact your site speed?
Correct Answer is: inactive plugins
55. Which of these is NOT a part of the internationalization and localization process?
Correct Answer is: translators translating the POT file into a PO file, one for each language
56. Which software development principle, often used in WordPress, aims to reduce the repetition of code?
Correct Answer is: DRY
57. Which Wordpress conditional would you use to determine if you were on a single page?
Correct Answer is: is_single()
58. 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/?
Correct Answer is: Permalinks
59. Which WP-CLI command would you use to manage the capabilities of a user role?
Correct Answer is: wp role
60. Who owns the trademark for WordPress and WordCamp names and logos?
Correct Answer is: WordPress Foundation (The WordPress Foundation owns and oversees the trademarks for the WordPress and WordCamp names and logos.)