MCQs > IT & Programming > WordPress MCQs > Basic WordPress MCQs

Basic WordPress MCQ

1. Where do you configure global settings for comments on your WordPress site?

Answer

Correct Answer: Discussion Settings

Note: This Question is unanswered, help us to find answer for this one

2. Which is not a benefit of DRY code?

Answer

Correct Answer: The code is less abstracted.

Note: This Question is unanswered, help us to find answer for this one

3. What service is used to manage user profile photos across any WordPress site?

Answer

Correct Answer: Gravatar

Note: This Question is unanswered, help us to find answer for this one

4. The WordPress block editor contains a number of default blocks, including blocks for paragraphs, images, quotes, and shortcode. Blocks are grouped into categories to help users browse and discover them. Which is not a category provided by WordPress core?

Answer

Correct Answer: Shortcodes

Note: This Question is unanswered, help us to find answer for this one

5. You would use a post instead of a page when the content is _.

Answer

Correct Answer: When the content is part of a blog.

Note: This Question is unanswered, help us to find answer for this one

6. JavaScript variables can hold many data types. Which data type does the following variable represent? var x = "16"

Answer

Correct Answer: String

Note: This Question is unanswered, help us to find answer for this one

7. Which of these are best practices in accessibility?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

8. 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?

Answer

Correct Answer: Customizer

Note: This Question is unanswered, help us to find answer for this one

9. In the WordPress template hierarchy, which file could not be used to display an archive?

Answer

Correct Answer: Index.php

Note: This Question is unanswered, help us to find answer for this one

10. Which of these are the minimum files required to make a child theme?

Answer

Correct Answer: Functions.php style.css

Note: This Question is unanswered, help us to find answer for this one

11. 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";}

Answer

Correct Answer: Serialized data

Note: This Question is unanswered, help us to find answer for this one

12. Which Wordpress conditional would you use to determine if you were on a single page?

Answer

Correct Answer: Is_single()

Note: This Question is unanswered, help us to find answer for this one

13. When should you edit core WordPress files?

Answer

Correct Answer: You should never edit WordPress core.

Note: This Question is unanswered, help us to find answer for this one

14. What user role would you assign to someone so they can write and publish only their posts and no one else's?

Answer

Correct Answer: Author

Note: This Question is unanswered, help us to find answer for this one

15. On a webpage, there are frequently navigation links, a search bar, or other elements that appear before the main content. For keyborad and screen reader users, it can be frustrating to get to the main content of a page because they have to tab through all these elements on every new page load. What can you add to a site to fix this?

Answer

Correct Answer: Collapsible menus

Note: This Question is unanswered, help us to find answer for this one

16. If you wanted to debug some JavaScript, which method would you use to display data in your browser console?

Answer

Correct Answer: Console.log()

Note: This Question is unanswered, help us to find answer for this one

17. What are transients?

Answer

Correct Answer: A way to cache information

Note: This Question is unanswered, help us to find answer for this one

18. Which folder in a WordPress install is not affected by an automatic WordPress update?

Answer

Correct Answer: Root

Note: This Question is unanswered, help us to find answer for this one

19. Which of these CSS classs naming convention is correct according to WordPress CSS Coding Standards?

Answer

Correct Answer: .selector_name

Note: This Question is unanswered, help us to find answer for this one

20. WordPress is an open-source software licensed under the GPL. This means that __.

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

21. In which of the following ways might you contribute to the WordPress community by testing?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

22. In your wp-config.php file, you've added the following line of code. What does it do?define( 'DISALLOW_FILE_EDIT', true );

Answer

Correct Answer: Disables the theme and plugin editor in the WordPress admin

Note: This Question is unanswered, help us to find answer for this one

23. What is the process of marking the code you write so that it is ready for translation?

Answer

Correct Answer: Internationalization

Note: This Question is unanswered, help us to find answer for this one

24. 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.

Answer

Correct Answer: Http://example.com/wp-json/

Note: This Question is unanswered, help us to find answer for this one

25. According to WordPress PHP coding standards for inline comments, how would you write a single-line comment in a PHP document?

Answer

Correct Answer: // This is a single line comment

Note: This Question is unanswered, help us to find answer for this one

26. You can harden your WordPress site security by adding __ to your wp-config.php file?

Answer

Correct Answer: Unique keys and salts

Note: This Question is unanswered, help us to find answer for this one

27. Which is NOT a suggested performance improvement for your WordPress website?

Answer

Correct Answer: UTF8 is supported.

Note: This Question is unanswered, help us to find answer for this one

28. Which software development principle, often used in WordPress, aims to reduce the repetition of code?

Answer

Correct Answer: DRY

Note: This Question is unanswered, help us to find answer for this one

29. Where can you find the official WordPress documentation and usage guide?

Answer

Correct Answer: Developer.wordpress.org

Note: This Question is unanswered, help us to find answer for this one

30. Which of the following is NOT a suggested security improvement for your WordPress website?

Answer

Correct Answer: WordPress updates are accomplished manually only.

Note: This Question is unanswered, help us to find answer for this one

31. How would you write a text string containing "Hello World!" in a way that makes it possible for someone else to translate the string into a different language?

Answer

Correct Answer: _( 'Hello World!', 'mytextdomain' );

Note: This Question is unanswered, help us to find answer for this one

32. What is the name of the open-sourse project that serves as a bug tracker and project management tool for WordPress?

Answer

Correct Answer: Trac

Note: This Question is unanswered, help us to find answer for this one

33. What is the role of a WordPress theme?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

34. If you wanted to register a custom post type, which hook would you use?

Answer

Correct Answer: Init

Note: This Question is unanswered, help us to find answer for this one

35. F your WordPress site is seriously compromised, what is the best course of action to return your site to good health?

Answer

Correct Answer: 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.

Note: This Question is unanswered, help us to find answer for this one

36. What technique would you use to secure data before rendering it to a user?

Answer

Correct Answer: Validate and sanitize

Note: This Question is unanswered, help us to find answer for this one

37. Which WP-CLI command would you use to manage the capabilities of a user role?

Answer

Correct Answer: Wp role

Note: This Question is unanswered, help us to find answer for this one

38. The WordPress REST API is designed to receive and respond to particular types of requests using basic HTML methods. For example, a request to upload a PHP file into a particular folder on a server might look like the code POST /folder/_file.php. Based on this code, what would you call /folder/_file.php (in REST API terms)?

Answer

Correct Answer: Request

Note: This Question is unanswered, help us to find answer for this one

39. 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?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

40. What is the difference between an action and a filter?

Answer

Correct Answer: 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.

Note: This Question is unanswered, help us to find answer for this one

41. 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?

Answer

Correct Answer: Polyglots

Note: This Question is unanswered, help us to find answer for this one

42. Which is a best practice for working with WordPress CSS?

Answer

Correct Answer: Use spaces to indent each property.

Note: This Question is unanswered, help us to find answer for this one

43. You might see this code in a WordPress plugin. What does it do? if ( ! defined( 'ABSPATH' ) ) { die; }

Answer

Correct Answer: This is a way to prevent naming collisions. ABSPATH is the absolute path to the plugin's directory. If ABSPATH is defined by another WordPress plugin with the same directory slug, the plugin should not run.

Note: This Question is unanswered, help us to find answer for this one

44. What is the correct order of parameters for the add_action() function?

Answer

Correct Answer: Add_action( 'example_hook', 'example_function', $priority, $accepted_args )

Note: This Question is unanswered, help us to find answer for this one

45. The REST API provides public data, which is accessible to any client anonymously, as well as private data available only after authentication. How could you ensure that no one can anonymously access site data via the REST API?

Answer

Correct Answer: Use the Disable REST API plugin.

Note: This Question is unanswered, help us to find answer for this one

46. Which of these is NOT a part of the internationalization and localization process?

Answer

Correct Answer: Translators translating the POT file into a PO file, one for each language

Note: This Question is unanswered, help us to find answer for this one

47. Within the editor, blocks are rendered as JavaScript. How are blocks rendered on the front end of a site?

Answer

Correct Answer: As a React component

Note: This Question is unanswered, help us to find answer for this one

48. What is a user role that is unique to WordPress Multisite?

Answer

Correct Answer: Super Admin

Note: This Question is unanswered, help us to find answer for this one

49. 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?

Answer

Correct Answer: $query = new WP_Query();

Note: This Question is unanswered, help us to find answer for this one

50. What's the primary difference between template tags prefaced with the versus get_the?

Answer

Correct Answer: Template tags prefaced with the _ can be used directly within a template.

Note: This Question is unanswered, help us to find answer for this one

51. What is the default priority for an action hook or filter?

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

52. Which of the following file types is NOT involved in translating WordPress?

Answer

Correct Answer: .pot

Note: This Question is unanswered, help us to find answer for this one

53. In WordPress, what is the block editor used for?

Answer

Correct Answer: Creating and laying out content

Note: This Question is unanswered, help us to find answer for this one

54. 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/?

Answer

Correct Answer: Permalinks

Note: This Question is unanswered, help us to find answer for this one

55. Theme developers can take advantage of the Customizer API to give users a way to manipulate basic theme settings. The Customizer API is object-oriented and provides four main objects. What are they?

Answer

Correct Answer: Panels, sections, controls, settings

Note: This Question is unanswered, help us to find answer for this one

56. The REST API utilizes which data format?

Answer

Correct Answer: JSON

Note: This Question is unanswered, help us to find answer for this one

57. What would you do to improve your site's performance?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

58. Akismet is a plugin that comes automatically installed with WordPress. What does it do?

Answer

Correct Answer: It protects your site from comment spam.

Note: This Question is unanswered, help us to find answer for this one

59. In WordPress, what is true of plugins?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

60. How many minutes does it take to install WordPress according to the "Famous X-Minute Installation" instructions on WordPress.org?

Answer

Correct Answer: 5

Note: This Question is unanswered, help us to find answer for this one

61. The REST API is a simple way to get data in and out of WordPress over HTTP. Applications using the REST API should be written in which programming language?

Answer

Correct Answer: Any programming language that can make HTTP requests and interpret JSON

Note: This Question is unanswered, help us to find answer for this one

62. Who owns the trademark for WordPress and WordCamp names and logos?

Answer

Correct Answer: WordPress Foundation (The WordPress Foundation owns and oversees the trademarks for the WordPress and WordCamp names and logos.)

Note: This Question is unanswered, help us to find answer for this one

63. In WordPress, what is the Loop used to do?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

64.

You want to schedule a backup of your site database but do not have enough permissions to access your host.

Which of the following choices can help you perform this task?


Answer

Correct Answer: Install "wp database backup" plug-in.

Note: This Question is unanswered, help us to find answer for this one

65. Which of the following actions must be fixed after importing data into WordPress?


Answer

Correct Answer: All of above data

Note: This Question is unanswered, help us to find answer for this one

66. Which of the following files must be deleted after installing WordPress?


Answer

Correct Answer: None of these files.

Note: This Question is unanswered, help us to find answer for this one

67. Which of the following tasks should be performed before installing any plugin?


Answer

Correct Answer: Verify that plugin can be installed on your version of WordPress & is compatible with the current theme.

Note: This Question is unanswered, help us to find answer for this one

68. What is the right order (by priority in use) to display taxonomies in Template Hierarchy?


Answer

Correct Answer: taxonomy -{taxonomy}-{term}.php, taxonomy-{taxonomy}.php, taxonomy.php, archive.php, index.php

Note: This Question is unanswered, help us to find answer for this one

69. Which of the following methods can be used to eliminate spam?


Answer

Correct Answer: a and b

Note: This Question is unanswered, help us to find answer for this one

70. After moving a WordPress site to a new host, if you change your site's URL, do you have to update your posts and pages to correct paths to the uploaded media files?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

71. What is the right order (by priority in use) to display tag in Template Hierarchy?


Answer

Correct Answer: tag -{slug}.php, tag -{id}.php, tag.php, archive.php, index.php

Note: This Question is unanswered, help us to find answer for this one

72. Is super cache a built-in plugin of WordPress?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

73. Who of the following persons can read a post locked by password?


Answer

Correct Answer: Anyone who knows a password

Note: This Question is unanswered, help us to find answer for this one

74. Which of the following actions must be performed before enabling the Network feature?


Answer

Correct Answer: Deactivate your plugins

Note: This Question is unanswered, help us to find answer for this one

75. Can you import content from joomla or mambo site into WordPress?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

76. How can the use of html code in comments be disabled?


Answer

Correct Answer: By changing the theme's source code.

Note: This Question is unanswered, help us to find answer for this one

77. Conditional tags can be used to _______________________.


Answer

Correct Answer: change the content to be displayed

Note: This Question is unanswered, help us to find answer for this one

78. From which version of WordPress can you choose your username during the installation process?


Answer

Correct Answer: 3.0

Note: This Question is unanswered, help us to find answer for this one

79. Which of the following tasks must be performed to add a favicon icon to your site?


Answer

Correct Answer: a and b

Note: This Question is unanswered, help us to find answer for this one

80. Can you create a specific theme file for a custom content type?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

81. User Level 10 converts to ________?


Answer

Correct Answer: Administrator

Note: This Question is unanswered, help us to find answer for this one

82. Can you override database values for your site URLs in wp-config.php?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

83. _____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.


Answer

Correct Answer: Author

Note: This Question is unanswered, help us to find answer for this one

84. What is the number of invalid password entry attempts after which login from your IP Address would be restricted?


Answer

Correct Answer: no limit

Note: This Question is unanswered, help us to find answer for this one

85. ____________ can manage their own profiles, but can do virtually nothing else in the administration area.


Answer

Correct Answer: Subscriber

Note: This Question is unanswered, help us to find answer for this one

86. Can you import content from static HTML files into WordPress?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

87. How many built-in user roles does WordPress (single site installation) have?


Answer

Correct Answer: 5

Note: This Question is unanswered, help us to find answer for this one

88. Which of the following actions must be performed before upgrading WordPress?


Answer

Correct Answer: a, b, and c.

Note: This Question is unanswered, help us to find answer for this one

89. ____________ can write their own posts but may not publish or delete them. Their HTML is limited to the set of allowed tags and they cannot upload media files.


Answer

Correct Answer: Contributor

Note: This Question is unanswered, help us to find answer for this one

90. Can a post belong to more than one category?

Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can't assign them the same slug.

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

91. What is the name of theme file for a page with slug 'about'?


Answer

Correct Answer: page-about.php

Note: This Question is unanswered, help us to find answer for this one

92. In which of the following ways can a redirect feature be added to a permalink?


Answer

Correct Answer: a and b

Note: This Question is unanswered, help us to find answer for this one

93. User Level 0 converts to _______?


Answer

Correct Answer: Subscriber

Note: This Question is unanswered, help us to find answer for this one

94. Can you move your wp-content folder elsewhere or rename it to something else without changing any settings?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

95. Which role is not for Contributor:


Answer

Correct Answer: edit_published_posts

Note: This Question is unanswered, help us to find answer for this one

96. A possible way to collect real-time statistics about traffic to a WordPress site is to:


Answer

Correct Answer: use a plug-in

Note: This Question is unanswered, help us to find answer for this one

97. Super Cache compression can cause problems if your server is _______.


Answer

Correct Answer: already compressing output using mod_deflate (on Apache) or PHP compression (zlib)

Note: This Question is unanswered, help us to find answer for this one

98. One way to make a WordPress page title more SEO friendly is to ____________.


Answer

Correct Answer: change the title tag in header.php to something like "blog name category post name"

Note: This Question is unanswered, help us to find answer for this one

99. What is the right order (by priority in use) to display page in Template Hierarchy?


Answer

Correct Answer: page-{slug}.php, page-{id}.php, page.php, index.php

Note: This Question is unanswered, help us to find answer for this one

100. Which of following actions must be performed before using Akismet Plugin?


Answer

Correct Answer: Create an account at wordpress.com.

Note: This Question is unanswered, help us to find answer for this one

101. What is the right order (by priority in use) to display category in Template Hierarchy?


Answer

Correct Answer: category -{slug}.php, category-{id}.php, category.php, archive.php, index.php

Note: This Question is unanswered, help us to find answer for this one

102. WordPress's requirements are modest. At minimum, which of the following standards should your server support for WordPress 3.1?


Answer

Correct Answer: PHP version 4.3 or greater, MySQL version 4.1.2 or greater

Note: This Question is unanswered, help us to find answer for this one

103. Is the functions.php file required in each theme?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

104. What is the limitation to the depth of your categories?


Answer

Correct Answer: No limit levels

Note: This Question is unanswered, help us to find answer for this one

105. Which of the following blog sites can be imported into WordPress?


Answer

Correct Answer: Blogspot

Note: This Question is unanswered, help us to find answer for this one

106. Are categories and tags available for pages?

Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can't assign them the same slug.


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

107. What is the first action you need to take for enabling WordPress MU feature?


Answer

Correct Answer: Add this code to wp-config.php file: define( 'WP_ALLOW_MULTISITE', true );

Note: This Question is unanswered, help us to find answer for this one

108. Which of the below functions is required to create a new taxonomy?


Answer

Correct Answer: register_taxonomy

Note: This Question is unanswered, help us to find answer for this one

109. A possible way to install WordPress in your language is to _________________.


Answer

Correct Answer: manually install language package or translate as necessary

Note: This Question is unanswered, help us to find answer for this one

110. Which of the following methods is required to post html code for others to read?


Answer

Correct Answer: Replacing special characters with corresponding html codes or character codes.

Note: This Question is unanswered, help us to find answer for this one

111. Does author have the ability to create a category?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

112. A possible way to allow the display of several authors' names on one post is to ______


Answer

Correct Answer: use a plug-in

Note: This Question is unanswered, help us to find answer for this one

113. Using ____________is a good way to ensure that a WordPress site is indexed by search engines.


Answer

Correct Answer: a sitemap

Note: This Question is unanswered, help us to find answer for this one

114. Which is/are the images, videos, recordings, and files you upload and use in your blog?

Answer

Correct Answer: Media

Note: This Question is unanswered, help us to find answer for this one

115. What is GlotPress??

Answer

Correct Answer: A web-based translation tool that allows multiple translators to work on a translation at once.

Note: This Question is unanswered, help us to find answer for this one

116. True or false? WordPress locks you into its current version for jQuery..

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

117. What is the name of WordPress version 4.1 ?

Answer

Correct Answer: Dinah

Note: This Question is unanswered, help us to find answer for this one

118. Which displays administration panel information relating to a particular navigation choice? (i.e. adding a new post)

Answer

Correct Answer: work area

Note: This Question is unanswered, help us to find answer for this one

119. Which of the following are true regarding Pages in WordPress?

Answer

Correct Answer: Pages are listed in reverse chronological order.

Note: This Question is unanswered, help us to find answer for this one

120. Post comments are displayed by using the ______ template tag.

Answer

Correct Answer: comments_popup_link()

Note: This Question is unanswered, help us to find answer for this one

121. Can we add php MySQL queries into word press exactly the same way?

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

122. What will be the child theme of Twenty Fifteen

Answer

Correct Answer: Twenty Fifteen Child

Note: This Question is unanswered, help us to find answer for this one

123. It is the online manual for WordPress and a living repository for WordPress information and documentation.

Answer

Correct Answer: WordPress Codex

Note: This Question is unanswered, help us to find answer for this one

124. Which of the following needs to be edited in order to creat the function for the shortcode?

Answer

Correct Answer: functions.php

Note: This Question is unanswered, help us to find answer for this one

125. Directories and subdirectories listed in a path are usually separated by a

Answer

Correct Answer: slash (/)

Note: This Question is unanswered, help us to find answer for this one

126. ______ are permanent URLs to your individual weblog posts.

Answer

Correct Answer: permalinks

Note: This Question is unanswered, help us to find answer for this one

127. How to ON Debug mode in wordpress?

Answer

Correct Answer: define('WP_DEBUG', true); in wp-config.php file

Note: This Question is unanswered, help us to find answer for this one

128. Word press features two core page views of web pages in a WordPress site, namely __________ view and _______________ .

Answer

Correct Answer: single post, multi-post

Note: This Question is unanswered, help us to find answer for this one

129. Which filter is plugins' equivalent to themes' add_editor_style function?

Answer

Correct Answer: mce_css

Note: This Question is unanswered, help us to find answer for this one

130. Which of the following disables the editor in the WordPress Dashboard?

Answer

Correct Answer: define('DISALLOW_FILE_EDIT', true);

Note: This Question is unanswered, help us to find answer for this one

131. _________ are lists of blogs maintained by bloggers as blogs they read or recommend.

Answer

Correct Answer: blogrools

Note: This Question is unanswered, help us to find answer for this one

132. What is the best way to bring a WordPress blog to the moment you first installed it ?

Answer

Correct Answer: Drop all the tables in the database and re-run the install

Note: This Question is unanswered, help us to find answer for this one

133. Changing the Keys and Salts in your wp-confip.php file will immediately log everyone out of the site.

Answer

Correct Answer: TRUE

Note: This Question is unanswered, help us to find answer for this one

134. To display a custom field with a single value, use the following tag:

Answer

Correct Answer: ID, 'CUSTOM FIELD NAME', true ); ?>

Note: This Question is unanswered, help us to find answer for this one

135. After how many times did you enter an invalid password, your IP Address would be locked?

Answer

Correct Answer: no limit

Note: This Question is unanswered, help us to find answer for this one

136. Which plugin people use for e-commerce in wordpress?

Answer

Correct Answer: gravity forms

Note: This Question is unanswered, help us to find answer for this one

137. Word press makes it easy to discover content with ______________ and ______________

Answer

Correct Answer: tags, categories

Note: This Question is unanswered, help us to find answer for this one

138. ______ is the ability for readers to respond to articles written in your blog.

Answer

Correct Answer: comment posting

Note: This Question is unanswered, help us to find answer for this one

139. The Administration Panel contains a _______ section.

Answer

Correct Answer: all of these

Note: This Question is unanswered, help us to find answer for this one

140. Will define('FORCE_SSL_LOGIN', true) force SSL login and admin sessions?

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

141. add_cap() is a public function or a class method?

Answer

Correct Answer: Class method

Note: This Question is unanswered, help us to find answer for this one

142. A user with role = 'author' can moderate comments, but only on his own posts

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

143. How to change the default gravatar in WordPres?

Answer

Correct Answer: add_filter( 'avatar_defaults', 'function-name' );

Note: This Question is unanswered, help us to find answer for this one

144. You can convert Hex ecncoded characters to ASCII using the following WordPress function

Answer

Correct Answer: _wp_iso_convert()

Note: This Question is unanswered, help us to find answer for this one

145. What to use to import a parent theme stylesheet?

Answer

Correct Answer: wp_enqueue_script()

Note: This Question is unanswered, help us to find answer for this one

146. Which one is NOT a built-in WP cron event recurrence?

Answer

Correct Answer: weekly

Note: This Question is unanswered, help us to find answer for this one

147. To create a string with 12 random alphanumeric characters, in WordPress I can use this function

Answer

Correct Answer: wp_generate_password(12, false);

Note: This Question is unanswered, help us to find answer for this one

148. paginate_links() does the following:

Answer

Correct Answer: Displays a paginated menu in an archive template

Note: This Question is unanswered, help us to find answer for this one

149. Which filter would you use to allow users to enter Twitter accounts into their profiles?

Answer

Correct Answer: user_contactmethods

Note: This Question is unanswered, help us to find answer for this one

150. What function should you use to clear post cache for a specific post?

Answer

Correct Answer: clean_post_cache

Note: This Question is unanswered, help us to find answer for this one

151. In what table is category meta stored?

Answer

Correct Answer: None, WordPress doesn't have category meta by default.

Note: This Question is unanswered, help us to find answer for this one

152. Which of the following functions should be called to verify a nonce value in the WordPress admin?

Answer

Correct Answer: check_admin_referer();

Note: This Question is unanswered, help us to find answer for this one

153. On a legacy host, what term indicates your host is limiting the ability of viewers to easily modify wp-config.php?

Answer

Correct Answer: Jailshell

Note: This Question is unanswered, help us to find answer for this one

154. In WordPress 3.4, which API was introduced to access and manage WordPress theme data?

Answer

Correct Answer: WP_Theme

Note: This Question is unanswered, help us to find answer for this one

155. Which sanitization function do you have to use here :

Answer

Correct Answer: esc_attr

Note: This Question is unanswered, help us to find answer for this one

156. What WordPress function shows the last user to revise or modify a post?

Answer

Correct Answer: the_modified_author();

Note: This Question is unanswered, help us to find answer for this one

157. Which action should be used to add custom links to WordPress admin bar?

Answer

Correct Answer: wp_before_admin_bar_render

Note: This Question is unanswered, help us to find answer for this one

158. To ensure that all HTML tags in a given string are closed correctly and in the correct order, which WordPress function can be used?

Answer

Correct Answer: force_balance_tags();

Note: This Question is unanswered, help us to find answer for this one

159. What is the name of the global variable for post types?

Answer

Correct Answer: $wp_post_types

Note: This Question is unanswered, help us to find answer for this one

160. How can you profile the SQL queries that WordPress is doing?

Answer

Correct Answer: define SAVEQUERIES and inspect $wpdb->queries

Note: This Question is unanswered, help us to find answer for this one

161. In the following, which is the best function to use if you want to redirect your visitor to another page within the same WordPress installation?

Answer

Correct Answer: wp_safe_redirect

Note: This Question is unanswered, help us to find answer for this one

162. To disable a dashboard widget in WordPress, you would use the following function:

Answer

Correct Answer: remove_meta_box('name_of_widget', 'dashboard', 'core')

Note: This Question is unanswered, help us to find answer for this one

163. Using define('FS_METHOD', [method] ) in wp-config.php, which of these is NOT a valid method?

Answer

Correct Answer: http

Note: This Question is unanswered, help us to find answer for this one

164. How to add a custom dashboard logo?

Answer

Correct Answer: add_action('admin_head', 'function-name');

Note: This Question is unanswered, help us to find answer for this one

165. What function makes sure that all 'wordpress', 'Wordpress' and so on are converted to 'WordPress'?

Answer

Correct Answer: capital_P_dangit()

Note: This Question is unanswered, help us to find answer for this one

166. What argument do you pass to WP_Query to prevent querying for the post terms

Answer

Correct Answer: 'update_post_term_cache' => false

Note: This Question is unanswered, help us to find answer for this one

167. Since version 3.3, which function should be used to add contextual help to admin pages?

Answer

Correct Answer: add_help_tab

Note: This Question is unanswered, help us to find answer for this one

168. During a typical page load, which action hook is fired last?

Answer

Correct Answer: shutdown

Note: This Question is unanswered, help us to find answer for this one

169. To add your own "custom meta box" to the WordPress dashboard, you would use this function:

Answer

Correct Answer: wp_add_dashboard_widget('custom_meta_box', 'My Metabox Title', 'custom_dashboard_box');

Note: This Question is unanswered, help us to find answer for this one

170. Which function retrieves the translation of text and escapes it for safe use in HTML?

Answer

Correct Answer: esc_html__()

Note: This Question is unanswered, help us to find answer for this one

171. Which is the correct function for loading a translation file from within a child theme?

Answer

Correct Answer: load_childtheme_textdomain();

Note: This Question is unanswered, help us to find answer for this one

172. Which template tag is used to optionally display a list of the pages in a page or blog post that has been split into multiple pages (using )?

Answer

Correct Answer: wp_link_pages();

Note: This Question is unanswered, help us to find answer for this one

173. What color picker JavaScript library shipped with version 3.4?

Answer

Correct Answer: Farbtastic

Note: This Question is unanswered, help us to find answer for this one

174. Can you properly add you own WP code before the first action hook "plugins_loaded" without hacking the core ?

Answer

Correct Answer: Yes, by adding a .php file in wp-content/mu-plugins/ folder

Note: This Question is unanswered, help us to find answer for this one

175. In which hook is the safest to fire a remove_menu_page to menus created by plugins?

Answer

Correct Answer: admin_init

Note: This Question is unanswered, help us to find answer for this one

176. In the case of a free WordPress.com blog, the number of users that can be invited by a registered user is:

Answer

Correct Answer: 35

Note: This Question is unanswered, help us to find answer for this one

177. Which function displays a login link?

Answer

Correct Answer: wp_loginout( $redirect, $echo )

Note: This Question is unanswered, help us to find answer for this one

178. To improve WordPress security it is advisable to completely remove your WordPress version number from both your head file and RSS feeds. Which of the following methods achieves this.

Answer

Correct Answer: Add the following function to your functions.php file: function 123qaz_remove_version() { 2 return ''; 3 } 4 add_filter('the_generator', '123qaz_remove_version');

Note: This Question is unanswered, help us to find answer for this one

179. When using the WordPress Settings API to create a custom settings screen, which function is used to output the settings sections and fields?

Answer

Correct Answer: do_settings_sections();

Note: This Question is unanswered, help us to find answer for this one

180. What WordPress function allows you to add an RSS feed to your template?

Answer

Correct Answer: fetch_feed();

Note: This Question is unanswered, help us to find answer for this one

181. What parameters do you need to pass to the get_the_author_meta()?

Answer

Correct Answer: $field, $userID

Note: This Question is unanswered, help us to find answer for this one

182. Which of the following functions is deprecated?

Answer

Correct Answer: is_post()

Note: This Question is unanswered, help us to find answer for this one

183. Which function would you use to find out whether a certain action in WordPress has already been fired?

Answer

Correct Answer: did_action

Note: This Question is unanswered, help us to find answer for this one

184. What hook would you use to insert something after the title on the post edit screen?

Answer

Correct Answer: edit_form_after_title

Note: This Question is unanswered, help us to find answer for this one

185. Which format does the readme.txt file used in themes and plugins follow?

Answer

Correct Answer: Markdown

Note: This Question is unanswered, help us to find answer for this one

186. Which escaping function should you use to escape a string for a LIKE SQL statement?

Answer

Correct Answer: like_escape

Note: This Question is unanswered, help us to find answer for this one

187. How do you display all the meta data associated with a post while in the Loop?

Answer

Correct Answer: the_meta()

Note: This Question is unanswered, help us to find answer for this one

188. What function would you use to check if a plugin has been network activated in WordPress multisite?

Answer

Correct Answer: is_plugin_active_for_network()

Note: This Question is unanswered, help us to find answer for this one

189. To create a child theme, what value is assigned to the "Template:" key?

Answer

Correct Answer: The name of the folder/directory of the parent theme.

Note: This Question is unanswered, help us to find answer for this one

190. How do you store the FTP password in wp-config.php?

Answer

Correct Answer: define('FTP_PASS', 'password');

Note: This Question is unanswered, help us to find answer for this one

191. To add a network-wide option in a multisite WP instance, you'll use:

Answer

Correct Answer: add_site_option()

Note: This Question is unanswered, help us to find answer for this one

192. What is the main difference between WordPress Object Cache and the WordPress Transients API?

Answer

Correct Answer: Wordpress object cache is non-persistent.

Note: This Question is unanswered, help us to find answer for this one

193. When adding rewrite rules via a plugin to the default WordPress environment, it is necessary to flush the rewrite rules:

Answer

Correct Answer: every time the plugin is activated

Note: This Question is unanswered, help us to find answer for this one

194. How do you add a contextual help tab for a plugin or theme?

Answer

Correct Answer: Using add_help_tab() function

Note: This Question is unanswered, help us to find answer for this one

195. Which filter would you use, if you'd like to alter the output of every comment content in WordPress?

Answer

Correct Answer: comment_text

Note: This Question is unanswered, help us to find answer for this one

196. How can you detect a custom URL redirect?

Answer

Correct Answer: add_action('template_redirect','custom_function');

Note: This Question is unanswered, help us to find answer for this one

197. What is the name of the action hook that is executed at the beginning of each standard WordPress Loop?

Answer

Correct Answer: loop_start

Note: This Question is unanswered, help us to find answer for this one

198. The function get_taxonomies( ) can handle which parameters?

Answer

Correct Answer: $args, $output, $operator

Note: This Question is unanswered, help us to find answer for this one

199. What's the way to enable Atom Publishing and XML-RPC protocol?

Answer

Correct Answer: Under Settings > Writing Settings

Note: This Question is unanswered, help us to find answer for this one

200. When localising text within WordPress, which function is used when context is required for the text translation (when a word can have more than one meaning)?

Answer

Correct Answer: _x();

Note: This Question is unanswered, help us to find answer for this one

201. Which capability is required to edit menus?

Answer

Correct Answer: manage_options

Note: This Question is unanswered, help us to find answer for this one

202. How many times a minute can spawn_cron() run?

Answer

Correct Answer: once

Note: This Question is unanswered, help us to find answer for this one

203. WordPress Codex site is built on?

Answer

Correct Answer: Mediawiki

Note: This Question is unanswered, help us to find answer for this one

204. which function will return current site URL

Answer

Correct Answer: get_bloginfo('url')

Note: This Question is unanswered, help us to find answer for this one

205. Which WordPress function is used to get the content of a post after the <!--more--> tag?

Answer

Correct Answer: get_extended();

Note: This Question is unanswered, help us to find answer for this one

206. If pagination is not needed, which should be included in the array of arguments passed to WP_Query()?

Answer

Correct Answer: 'no_found_rows' => true

Note: This Question is unanswered, help us to find answer for this one

207. If you are writing a custom query that will not be paginated, you should:

Answer

Correct Answer: add 'no_found_rows' => true to the query args

Note: This Question is unanswered, help us to find answer for this one

208. Where can the size limit for uploaded files be set?

Answer

Correct Answer: None of these

Note: This Question is unanswered, help us to find answer for this one

209. When using WordPress multi-site, how you can get the ID of the current blog?

Answer

Correct Answer: get_current_site() function

Note: This Question is unanswered, help us to find answer for this one

210. What action is used to modify the post query before it is run?

Answer

Correct Answer: pre_get_posts

Note: This Question is unanswered, help us to find answer for this one

211. The optional /wp-contents/mu-plugins/ folder is used to add what type of plugins to a site?

Answer

Correct Answer: Must Use plugins, activated automatically.

Note: This Question is unanswered, help us to find answer for this one

212. Which of the following functions does NOT output a list of WordPress pages?

Answer

Correct Answer: wp_get _pages();

Note: This Question is unanswered, help us to find answer for this one

213. What is the default post_status for attachments?

Answer

Correct Answer: inherit

Note: This Question is unanswered, help us to find answer for this one

214. Which one of the following WordPress functions doesn't exist?

Answer

Correct Answer: wp_get_gravatar()

Note: This Question is unanswered, help us to find answer for this one

215. How do you get the ID of the current post outside the loop?

Answer

Correct Answer: $wp_query->post->ID

Note: This Question is unanswered, help us to find answer for this one

216. If a file named "plugin-install.php" is in your plugin folder:

Answer

Correct Answer: It will impact the "Add New" plugin link in left-side menu in The Dashboard

Note: This Question is unanswered, help us to find answer for this one

217. The mu-plugins folder in a WordPress install works only in WordPress MU (or Multisite)

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

218. Which define constant needs to be set in wp-config.php to Force SSL on the Admin Panel?

Answer

Correct Answer: define('FORCE_SSL_LOGIN', true);

Note: This Question is unanswered, help us to find answer for this one

219. True or false? WordPress supports many-to-many relationship by default.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

220. When constructing a URL with query parameters (?test=1, for example), what is the correct expression to add the query parameters to the URL?

Answer

Correct Answer: add_query_arg( 'test', '1', esc_url( 'http://domain.com/' ) );

Note: This Question is unanswered, help us to find answer for this one

221. Which protocol is used in WordPress to represent human relationships through hyperlinks?

Answer

Correct Answer: XFN

Note: This Question is unanswered, help us to find answer for this one

222. Default WordPress automatically saves the state of your post every 60 seconds while you work on a post. How do you change this default time interval?

Answer

Correct Answer: define('AUTOSAVE_INTERVAL', {value} );

Note: This Question is unanswered, help us to find answer for this one

223. Which WordPress function returns difference between two timestamps in a human readable format ("1 day", "10 mins"...)?

Answer

Correct Answer: human_time_diff

Note: This Question is unanswered, help us to find answer for this one

224. Which JavaScript library was added to the core in WordPress 3.5?

Answer

Correct Answer: Backbone

Note: This Question is unanswered, help us to find answer for this one

225. What Function trashes or deletes a comment?

Answer

Correct Answer: <?php wp_delete_comment( $comment_id, $force_delete ) ?>

Note: This Question is unanswered, help us to find answer for this one

226. Where do deprecated Template Tags, Conditional Tags and Include Tags go before they die?

Answer

Correct Answer: wp-includes/deprecated.php

Note: This Question is unanswered, help us to find answer for this one

227. Which action occurs when a post is saved?

Answer

Correct Answer: save_post

Note: This Question is unanswered, help us to find answer for this one

228. What will get_post_meta($post_id, $key) return?

Answer

Correct Answer: An array of the custom fields

Note: This Question is unanswered, help us to find answer for this one

229. What is the correct way to add a CSS file to a theme, but not load it to the HTML?

Answer

Correct Answer: wp_register_style('handle', $src)

Note: This Question is unanswered, help us to find answer for this one

230. Which hook is triggered when a new post is published?

Answer

Correct Answer: publish_post

Note: This Question is unanswered, help us to find answer for this one

231. If is_admin returns true, you are logged in as an administrator?

Answer

Correct Answer: false

Note: This Question is unanswered, help us to find answer for this one

232. When you want to view all of the stored data in the $wpdb->prefix.'options' table, you would:

Answer

Correct Answer: Append "options.php" to the end of your default admin URL

Note: This Question is unanswered, help us to find answer for this one

233. While developing themes , writing " @package WordPress " in head comment section of the file is correct.

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

234. The "page-{id}.php" comes before "page-{slug}.php" in the template hierarchy for a page.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

235. Using user_can() function, which capability will determine an administrator?

Answer

Correct Answer: delete_users

Note: This Question is unanswered, help us to find answer for this one

236. How to get current user ?

Answer

Correct Answer: wp_get_current_user();

Note: This Question is unanswered, help us to find answer for this one

237. The function ______ displays the Featured Image (previously called Post Thumbnails) for the current post, as set in that post's edit screen.

Answer

Correct Answer: the_post_thumbnail()

Note: This Question is unanswered, help us to find answer for this one

238. What does the is_admin() conditional function do?

Answer

Correct Answer: Returns true if the current page is an admin page

Note: This Question is unanswered, help us to find answer for this one

239. WordPress locks you into it's current version for jQuery.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

240. Which action would you use to show additional fields in WordPress registration form?

Answer

Correct Answer: register_form

Note: This Question is unanswered, help us to find answer for this one

241. Which one of the following is NOT a WordPress-generated CSS Class?

Answer

Correct Answer: .alignmiddle

Note: This Question is unanswered, help us to find answer for this one

242. What WordPress function allows you to check users capabilities?

Answer

Correct Answer: current_user_can()

Note: This Question is unanswered, help us to find answer for this one

243. How to retrieve current user ID?

Answer

Correct Answer: get_current_user_id()

Note: This Question is unanswered, help us to find answer for this one

244. The the_post() method in the WP_Query class sets up which global variable?

Answer

Correct Answer: $post

Note: This Question is unanswered, help us to find answer for this one

245. How do you register a WordPress custom nav menu?

Answer

Correct Answer: register_nav_menu()

Note: This Question is unanswered, help us to find answer for this one

246. If you add define( 'UPLOADS', $path ) to wp-config.php, $path is:

Answer

Correct Answer: path relative to ABSPATH

Note: This Question is unanswered, help us to find answer for this one

247. When using the function, add_image_size(), what parameter is required?

Answer

Correct Answer: name

Note: This Question is unanswered, help us to find answer for this one

248. Which of the following is required by WordPress for a plugin to function?

Answer

Correct Answer: plugin header

Note: This Question is unanswered, help us to find answer for this one

249. What function would you use to retrieve a remote API using the http GET method?

Answer

Correct Answer: wp_remote_get()

Note: This Question is unanswered, help us to find answer for this one

250. Which capability should you check against to find out whether the current user can publish posts?

Answer

Correct Answer: publish_posts

Note: This Question is unanswered, help us to find answer for this one

251. In wordpress which function is used for checking that the front URL contains https?

Answer

Correct Answer: is_ssl()

Note: This Question is unanswered, help us to find answer for this one

252. Which function returns the current post content to be stored in a PHP variable?

Answer

Correct Answer: $content = get_the_content();

Note: This Question is unanswered, help us to find answer for this one

253. What does the dynamic_sidebar() function do?

Answer

Correct Answer: Outputs all the widgets of a given sidebar

Note: This Question is unanswered, help us to find answer for this one

254. What function do you use to add core functionality to a post type?

Answer

Correct Answer: add_post_type_support()

Note: This Question is unanswered, help us to find answer for this one

255. What function would you use to enqueue a script in the back-end of WordPress?

Answer

Correct Answer: admin_enqueue_scripts()

Note: This Question is unanswered, help us to find answer for this one

256. To create a child theme, which line is required in addition to the default WordPress theme headers (style.css)?

Answer

Correct Answer: Template: directory-of-parent

Note: This Question is unanswered, help us to find answer for this one

257. Which hook should you use to add a script to your plugin admin page?

Answer

Correct Answer: admin_enqueue_scripts

Note: This Question is unanswered, help us to find answer for this one

258. What function do you use to return the current post's featured image for use in variables?

Answer

Correct Answer: get_the_post_thumbnail();

Note: This Question is unanswered, help us to find answer for this one

259. Which of the following is the correct template hierarchy for a page query?

Answer

Correct Answer: page-$slug.php -> page-$id.php -> page.php -> index.php

Note: This Question is unanswered, help us to find answer for this one

260. What does get_post_type_object() return if the post type doesn't exist?

Answer

Correct Answer: null

Note: This Question is unanswered, help us to find answer for this one

261. What line is required to set a theme to be the child of another theme within the child theme's .css header?

Answer

Correct Answer: Template:

Note: This Question is unanswered, help us to find answer for this one

262. Pingbacks in Wordpress do not send any content

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

263. What is the difference between the functions __() and _e()?

Answer

Correct Answer: __() returns a string and _e() echoes a string

Note: This Question is unanswered, help us to find answer for this one

264. A rewrite change will not be affected until:

Answer

Correct Answer: rewrite flushed

Note: This Question is unanswered, help us to find answer for this one

265. What is the name of the filter for adding a CSS class to a post?

Answer

Correct Answer: post_class

Note: This Question is unanswered, help us to find answer for this one

266. Which of these methods is used to add capabilities to a user role object?

Answer

Correct Answer: add_cap()

Note: This Question is unanswered, help us to find answer for this one

267. You want to customize the Loop on your static home page. Which conditional tag do you use?

Answer

Correct Answer: is_front_page();

Note: This Question is unanswered, help us to find answer for this one

268. What is the Transients API used for?

Answer

Correct Answer: Storing cached data temporarily

Note: This Question is unanswered, help us to find answer for this one

269. What WordPress function allows you to make PHP variables available to enqueued javascript files?

Answer

Correct Answer: wp_localize_script()

Note: This Question is unanswered, help us to find answer for this one

270. How do you enable a WordPress Multisite network?

Answer

Correct Answer: by adding define('WP_ALLOW_MULTISITE', true); to wp-config.php

Note: This Question is unanswered, help us to find answer for this one

271. How do you delete the "uncategorized" category?

Answer

Correct Answer: In the blog's dashboard, change the default category for new posts, then delete the "Uncategorized" entry.

Note: This Question is unanswered, help us to find answer for this one

272. The following license can be obtained by the blog owner to specify what content can and cannot be taken from the site:

Answer

Correct Answer: Creative Commons

Note: This Question is unanswered, help us to find answer for this one

273. Which function does WordPress use to remove certain HTML text and attributes from user input?

Answer

Correct Answer: wp_kses

Note: This Question is unanswered, help us to find answer for this one

274. How do you use the WP_Widget class to create a new widget?

Answer

Correct Answer: My_Widget extends WP_Widget

Note: This Question is unanswered, help us to find answer for this one

275. What does wp_filter_kses() function do?

Answer

Correct Answer: Sanitize content with allowed HTML rules.

Note: This Question is unanswered, help us to find answer for this one

276. What function allows you to switch between blogs on your installed WordPress network?

Answer

Correct Answer: switch_to_blog();

Note: This Question is unanswered, help us to find answer for this one

277. The get_option and update_option functions will serialize and unserialize arrays and objects automatically.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

278. If you need to save data in WordPress for a limited amount of time, what is the best way to do this?

Answer

Correct Answer: Transient API

Note: This Question is unanswered, help us to find answer for this one

279. Using bloginfo() without a parameter will default to?

Answer

Correct Answer: bloginfo('name')

Note: This Question is unanswered, help us to find answer for this one

280. Which step isn't a part of installing WordPress multisite?

Answer

Correct Answer: Manually adding a blogs table to your database

Note: This Question is unanswered, help us to find answer for this one

281. What is the name of the function allowing you to register your own shortcode?

Answer

Correct Answer: add_shortcode()

Note: This Question is unanswered, help us to find answer for this one

282. How can you enable WP multisite support in wp-config.php?

Answer

Correct Answer: define('WP_ALLOW_MULTISITE', true)

Note: This Question is unanswered, help us to find answer for this one

283. Can a post of one post type be the parent of a post of another post type?

Answer

Correct Answer: Yes.

Note: This Question is unanswered, help us to find answer for this one

284. How do you correctly register the shortcode to call this function: function ppp_shortcode() { echo "some code or stuff here"; }

Answer

Correct Answer: add_shortcode('shortcode', 'ppp_shortcode');

Note: This Question is unanswered, help us to find answer for this one

285. Which function makes sure that only certain HTML tags are allowed, if present, in a given string of text?

Answer

Correct Answer: wp_kses();

Note: This Question is unanswered, help us to find answer for this one

286. CVE’s are routinely published by WordPress. CVE stands for:

Answer

Correct Answer: Common Vulnerabilities and Exposures

Note: This Question is unanswered, help us to find answer for this one

287. Is it required that the current theme's stylesheet be loaded inside the "header.php" template file within the theme?

Answer

Correct Answer: No, it can be loaded via "functions.php" as well

Note: This Question is unanswered, help us to find answer for this one

288. Which function is used to strip all shortcodes from a given string of text?

Answer

Correct Answer: strip_shortcodes();

Note: This Question is unanswered, help us to find answer for this one

289. "Just another WordPress blog" is a _____, and can be edited via the ______ Dashboard section.

Answer

Correct Answer: Tagline; Settings -> General

Note: This Question is unanswered, help us to find answer for this one

290. Which of the following manually defines your WordPress address (URL)?

Answer

Correct Answer: define('WP_SITEURL', 'http://example.com/wordpress');

Note: This Question is unanswered, help us to find answer for this one

291. What is the proper order of parameters that get_the_post_thumbnail() accepts?

Answer

Correct Answer: $post_id, $size, $attr

Note: This Question is unanswered, help us to find answer for this one

292. Which function do you use to sanitize a generic text field for saving in the database?

Answer

Correct Answer: sanitize_text_field();

Note: This Question is unanswered, help us to find answer for this one

293. The function you use to access a WordPress site option is:

Answer

Correct Answer: get_option()

Note: This Question is unanswered, help us to find answer for this one

294. What does the line do? add_filter('show_admin_bar', '__return_false');

Answer

Correct Answer: Hides the admin bar for every user.

Note: This Question is unanswered, help us to find answer for this one

295. You can overwrite the siteurl option in wp-config.php with:

Answer

Correct Answer: define('WP_SITEURL', '[url]');

Note: This Question is unanswered, help us to find answer for this one

296. Which constant can you set in wp-config.php to limit the allowed memory for WordPress?

Answer

Correct Answer: WP_MEMORY_LIMIT

Note: This Question is unanswered, help us to find answer for this one

297. Which conditional statement checks to see if the current user is a Super Admin?

Answer

Correct Answer: is_super_admin()

Note: This Question is unanswered, help us to find answer for this one

298. Which function would you use to make WordPress crunch images into an additional size?

Answer

Correct Answer: add_image_size

Note: This Question is unanswered, help us to find answer for this one

299. Which of the following can be used to include a file named 'showcase.php' in your theme?

Answer

Correct Answer: get_template_part( 'showcase' );

Note: This Question is unanswered, help us to find answer for this one

300. Using is_archive() will return true on:

Answer

Correct Answer: Category, Tag, Author and Date listings

Note: This Question is unanswered, help us to find answer for this one

301. What conditional statement would you use for custom post types?

Answer

Correct Answer: if ( 'book' == get_post_type() ) { }

Note: This Question is unanswered, help us to find answer for this one

302. How do you set the language of your Wordpress instance?

Answer

Correct Answer: Set the language in the wp-config.php file

Note: This Question is unanswered, help us to find answer for this one

303. When displaying posts on your blog's homepage, if WordPress cannot find a matching template file, what theme file is used?

Answer

Correct Answer: index.php

Note: This Question is unanswered, help us to find answer for this one

304. You can move the wp-content folder elsewhere adding _____ in wp-config.php

Answer

Correct Answer: define( 'WP_CONTENT_DIR', [new_content_path] );

Note: This Question is unanswered, help us to find answer for this one

305. JavaScript strings should be translated by using?

Answer

Correct Answer: wp_localize_script

Note: This Question is unanswered, help us to find answer for this one

306. How can you write local files to the filesystem securely?

Answer

Correct Answer: Filesystem API

Note: This Question is unanswered, help us to find answer for this one

307. What function do you use to register a new custom image size?

Answer

Correct Answer: add_image_size();

Note: This Question is unanswered, help us to find answer for this one

308. Sidebars should be added on the ____ hook.

Answer

Correct Answer: init

Note: This Question is unanswered, help us to find answer for this one

309. Which function should a plugin use in order to echo a string to the browser and make it translatable?

Answer

Correct Answer: _e( 'string', 'text-domain' );

Note: This Question is unanswered, help us to find answer for this one

310. Which functions check if a post has featured image?

Answer

Correct Answer: has_post_thumbnail( $post_id );

Note: This Question is unanswered, help us to find answer for this one

311. If you want to retrieve specific WordPress site users you'll use

Answer

Correct Answer: get_users()

Note: This Question is unanswered, help us to find answer for this one

312. In order to remove a .css file that is loaded by a plugin, which function is going to be used inside the theme's functions.php file?

Answer

Correct Answer: wp_deregister_style()

Note: This Question is unanswered, help us to find answer for this one

313. Which file would you create/modify in your theme to customize a search form?

Answer

Correct Answer: searchform.php

Note: This Question is unanswered, help us to find answer for this one

314. Which one of these is NOT a supported post format?

Answer

Correct Answer: Log

Note: This Question is unanswered, help us to find answer for this one

315. What is the purpose of a nonce?

Answer

Correct Answer: Add a security check

Note: This Question is unanswered, help us to find answer for this one

316. The do_action() function is used to

Answer

Correct Answer: Fire action

Note: This Question is unanswered, help us to find answer for this one

317. How do you add content that you want to appear outside of the normal blog flow?

Answer

Correct Answer: Use a Page

Note: This Question is unanswered, help us to find answer for this one

318. The functions.php file must be created for every theme you develop?

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

319. In which table does WordPress store Custom Fields?

Answer

Correct Answer: wp_postmeta

Note: This Question is unanswered, help us to find answer for this one

320. The portion of a theme file that displays your posts is called:

Answer

Correct Answer: The Loop

Note: This Question is unanswered, help us to find answer for this one

321. Which WordPress conditional tag is used to check if the current query is the main query for the current screen being displayed?

Answer

Correct Answer: is_main_query();

Note: This Question is unanswered, help us to find answer for this one

322. Brute Force Attack is a dangerous security threat. It is an attack on the weakest link in any website's security. Which of the following best describes its actions?

Answer

Correct Answer: Tries usernames and passwords, over and over again, until it gets in.

Note: This Question is unanswered, help us to find answer for this one

323. wp_redirect() does not exit automatically and should almost always be followed by exit.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

324. For normal WordPress operations, the MySQL database user needs the following privileges

Answer

Correct Answer: SELECT, INSERT, UPDATE and DELETE.

Note: This Question is unanswered, help us to find answer for this one

325. How does Wordpress discover the version of a plugin?

Answer

Correct Answer: By reading the standard plugin header in the main plugin php file

Note: This Question is unanswered, help us to find answer for this one

326. The get_query_var() function is used to:

Answer

Correct Answer: Retrieve variable in the WP_Query class of the global $wp_query object.

Note: This Question is unanswered, help us to find answer for this one

327. Which of the following directs to themes folder?

Answer

Correct Answer: bloginfo('template_directory')

Note: This Question is unanswered, help us to find answer for this one

328. What function creates a custom sidebar in your theme?

Answer

Correct Answer: register_sidebar()

Note: This Question is unanswered, help us to find answer for this one

329. What is the name of the API bundled into WordPress core to handle the construction and management of widgets?

Answer

Correct Answer: WP_Widget

Note: This Question is unanswered, help us to find answer for this one

330. Which one is a standalone function and NOT a Rewrite API object method?

Answer

Correct Answer: flush_rewrite_rules();

Note: This Question is unanswered, help us to find answer for this one

331. What do we need to do in order to create a widget?

Answer

Correct Answer: To extend the WP_Widget class WP_Widget class and some of its functions

Note: This Question is unanswered, help us to find answer for this one

332. What is proper way to load a PHP file into a template (other than header, sidebar, footer)?

Answer

Correct Answer: get_template_part

Note: This Question is unanswered, help us to find answer for this one

333. This function gets the URL of the author page for the author using a given ID.

Answer

Correct Answer: get_author_posts_url( $author_id, $author_nickname )

Note: This Question is unanswered, help us to find answer for this one

334. Which WordPress function can you use to check whether a string is a valid e-mail address?

Answer

Correct Answer: is_email

Note: This Question is unanswered, help us to find answer for this one

335. To change the output of text for use on the front end or for saving to the database, which kind of hook would you use?

Answer

Correct Answer: filter

Note: This Question is unanswered, help us to find answer for this one

336. Which of the listed functions would you use to get the value of a Custom Field?

Answer

Correct Answer: get_post_meta

Note: This Question is unanswered, help us to find answer for this one

337. Main releases of WordPress are codenamed after well-known jazz musicians

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

338. What must happen to correctly localize a JS file in the WordPress API? The external file is a JS script, and it has multiple strings that require translation.

Answer

Correct Answer: all of the answers are correct

Note: This Question is unanswered, help us to find answer for this one

339. Which of the following is not a Conditional Tag?

Answer

Correct Answer: is_blog()

Note: This Question is unanswered, help us to find answer for this one

340. Which query argument represents the requested page number?

Answer

Correct Answer: paged

Note: This Question is unanswered, help us to find answer for this one

342. Which file do you need to change in order to modify the post template?

Answer

Correct Answer: single.php

Note: This Question is unanswered, help us to find answer for this one

343. What function do you use to flush rewrite rules?

Answer

Correct Answer: flush_rewrite_rules();

Note: This Question is unanswered, help us to find answer for this one

344. Shortcode styles are retained when you switch to a theme that does not use shortcodes.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

345. Which function is use for create custom post type ?

Answer

Correct Answer: register_post_type()

Note: This Question is unanswered, help us to find answer for this one

346. Making alterations to WordPress core files is

Answer

Correct Answer: Highly discouraged

Note: This Question is unanswered, help us to find answer for this one

347. The bookmarklet included in WordPress for publishing to your site while browsing the web is called:

Answer

Correct Answer: Press This

Note: This Question is unanswered, help us to find answer for this one

348. While running through the WordPress Loop, which action can be used to display content before each post in The Loop?

Answer

Correct Answer: the_post

Note: This Question is unanswered, help us to find answer for this one

349. When using classes, what visibility level is needed in order for WordPress to call your functions after being hooked into an action?

Answer

Correct Answer: Public

Note: This Question is unanswered, help us to find answer for this one

350. What file doesn't contain the current WordPress version?

Answer

Correct Answer: wp-includes/js/l10n.js

Note: This Question is unanswered, help us to find answer for this one

351. If you create a custom form with an email field, you can check if the submitted email is valid using the following WordPress function

Answer

Correct Answer: is_email()

Note: This Question is unanswered, help us to find answer for this one

353. What is the query variable that holds the current page number to control page navigation?

Answer

Correct Answer: paged

Note: This Question is unanswered, help us to find answer for this one

354. Which function do you use to enable featured image in WordPress?

Answer

Correct Answer: add_theme_support('post-thumbnails');

Note: This Question is unanswered, help us to find answer for this one

355. According to WordPress PHP Coding Standards, what kind of PHP tags are allowed?

Answer

Correct Answer: Full PHP tags only (i.e. <?php ?>)

Note: This Question is unanswered, help us to find answer for this one

356. In what order does blog content appear on a WordPress blog by default?

Answer

Correct Answer: Reverse chronological order

Note: This Question is unanswered, help us to find answer for this one

357. Which code is used to enable Featured image option in WordPress?

Answer

Correct Answer: add_theme_support( 'post-thumbnails' );

Note: This Question is unanswered, help us to find answer for this one

358. Where in a theme do we define the theme's author name?

Answer

Correct Answer: In theme's style.css file

Note: This Question is unanswered, help us to find answer for this one

359. In wp_redirect( $one, $two ), $one is the URL you're going to redirect to, while $two is ___

Answer

Correct Answer: HTTP redirection status code

Note: This Question is unanswered, help us to find answer for this one

360. How to retrieve single variable from database?

Answer

Correct Answer: $wpdb->get_var($query)

Note: This Question is unanswered, help us to find answer for this one

361. The function the_excerpt() can be used anywhere in your WordPress theme.

Answer

Correct Answer: Only within the posts loop

Note: This Question is unanswered, help us to find answer for this one

362. The excerpt can be customized:

Answer

Correct Answer: Adding a function in current theme

Note: This Question is unanswered, help us to find answer for this one

363. Which of the following are used to create "The WordPress Loop" that displays posts on a page?

Answer

Correct Answer: have_posts() and the_post()

Note: This Question is unanswered, help us to find answer for this one

364. NONCE is a number used ONCE to verify an action. Because it cannot be used again, it provides some security.

Answer

Correct Answer: TRUE

Note: This Question is unanswered, help us to find answer for this one

365. What is used to get values from custom fields

Answer

Correct Answer: get_post_meta

Note: This Question is unanswered, help us to find answer for this one

366. WordPress stores your uploads by default following which folder structure?

Answer

Correct Answer: wp-content/uploads/[year]/[month]/[filename.extension]

Note: This Question is unanswered, help us to find answer for this one

367. You can create a custom post type:

Answer

Correct Answer: Through the function register_post_type()

Note: This Question is unanswered, help us to find answer for this one

368. What does the "RPC" in name "XML-RPC" stand for? ("XML-RPC" is used by WordPress to connect to external resources such as a mobile WordPress application)

Answer

Correct Answer: Remote Procedure Call

Note: This Question is unanswered, help us to find answer for this one

369. How can you make your custom function my_function() pluggable?

Answer

Correct Answer: By checking function_exists('my_function') before defining the function

Note: This Question is unanswered, help us to find answer for this one

370. What Filter Hook is used to modify the output of the_content()?

Answer

Correct Answer: the_content

Note: This Question is unanswered, help us to find answer for this one

371. What functions are used to safely add a style file to wordpress generated page?

Answer

Correct Answer: wp_register_style() and wp_enqueue_style()

Note: This Question is unanswered, help us to find answer for this one

372. How to add multiple headers in your theme ?

Answer

Correct Answer: by adding duplicate of header file like header-1.php and assign in template like get_header("1");

Note: This Question is unanswered, help us to find answer for this one

373. This function allows quick publishing with a web browser bookmarklet. You can create a post by quoting some text, images, and videos on any web page.

Answer

Correct Answer: Press This

Note: This Question is unanswered, help us to find answer for this one

374. Which of these is NOT a core post type?

Answer

Correct Answer: Events

Note: This Question is unanswered, help us to find answer for this one

375. What is the recommended method of linking JavaScript to a WordPress generated page.

Answer

Correct Answer: wp_enqueue_script()

Note: This Question is unanswered, help us to find answer for this one

376. Who supports, maintains, and updates the WordPress core code available on WordPress.org?

Answer

Correct Answer: The WordPress community

Note: This Question is unanswered, help us to find answer for this one

377. True or False: update_post_meta can be used in place of add_post_meta.

Answer

Correct Answer: true

Note: This Question is unanswered, help us to find answer for this one

378. To remove all the html tags from a string, so that only plain text is left, you'd rather

Answer

Correct Answer: wp_strip_all_tags()

Note: This Question is unanswered, help us to find answer for this one

379. What is the preferred way to programmatically make an HTTP API GET request from within WordPress?

Answer

Correct Answer: wp_remote_get

Note: This Question is unanswered, help us to find answer for this one

380. How can one determine the post format of the current post in the loop?

Answer

Correct Answer: get_post_format

Note: This Question is unanswered, help us to find answer for this one

381. How do you turn on debugging in WordPress?

Answer

Correct Answer: Define WP_DEBUG constant as true in wp-config.php.

Note: This Question is unanswered, help us to find answer for this one

382. The WordPress Codex is editable by:

Answer

Correct Answer: Anyone

Note: This Question is unanswered, help us to find answer for this one

383. When another site links to your article, you receive a notification in your dashboard called a:

Answer

Correct Answer: Trackback/Pingback

Note: This Question is unanswered, help us to find answer for this one

384. Since WordPress 2.7.0 you can perform HTTP GET and POST requests with the following methods

Answer

Correct Answer: wp_remote_post, wp_remote_get

Note: This Question is unanswered, help us to find answer for this one

385. What is the best way to add plugin functionality to a theme template without breaking the theme if the plugin is not installed? (Example plugin: Foo)

Answer

Correct Answer: <?php if(function_exists('foo')) { foo(); } ?>

Note: This Question is unanswered, help us to find answer for this one

386. Which template tag should you use to output the post title inside the loop?

Answer

Correct Answer: the_title

Note: This Question is unanswered, help us to find answer for this one

387. What argument do you pass to WP_Query to limit the number of posts shown on each page?

Answer

Correct Answer: posts_per_page

Note: This Question is unanswered, help us to find answer for this one

388. What function will you use to localize or pass data to script files?

Answer

Correct Answer: wp_localize_script()

Note: This Question is unanswered, help us to find answer for this one

389. Where is the Wordpress repository stored?

Answer

Correct Answer: SVN

Note: This Question is unanswered, help us to find answer for this one

390. The code that displays post or page title inside a loop in your template is:

Answer

Correct Answer: the_title();

Note: This Question is unanswered, help us to find answer for this one

391. What should you write in PHP comments in the head of a file to declare a custom page template in a WordPress theme?

Answer

Correct Answer: Template Name:

Note: This Question is unanswered, help us to find answer for this one

392. Given the following line of code: remove_filter( 'the_content', 'capital_P_dangit', 11 ) what does the third argument (11) mean?

Answer

Correct Answer: The priority of the function (as defined by the original hooked function)

Note: This Question is unanswered, help us to find answer for this one

393. What is a helpful function for including translated javascript objects?

Answer

Correct Answer: wp_localize_script()

Note: This Question is unanswered, help us to find answer for this one

394. What is the WordPress plugin and themes repository build on?

Answer

Correct Answer: SVN

Note: This Question is unanswered, help us to find answer for this one

395. "CODE IS POETRY"- is written in:

Answer

Correct Answer: wordpress.org

Note: This Question is unanswered, help us to find answer for this one

396. Pages do not use tags or categories

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

397. Which function will return the filesystem path of a given plugin?

Answer

Correct Answer: plugin_dir_path();

Note: This Question is unanswered, help us to find answer for this one

398. What class is used for all database manipulations?

Answer

Correct Answer: wpdb

Note: This Question is unanswered, help us to find answer for this one

399. How do you schedule a post for later publishing?

Answer

Correct Answer: Click "Edit" next to "Publish Immediately," select a time, then click OK. Then click "Schedule."

Note: This Question is unanswered, help us to find answer for this one

400. When we talk about "Post Tags" in WordPress what do we mean?

Answer

Correct Answer: Keywords that classify concepts within the content

Note: This Question is unanswered, help us to find answer for this one

401. Which function is used to add a custom taxonomy?

Answer

Correct Answer: register_taxonomy

Note: This Question is unanswered, help us to find answer for this one

402. At a very minimum, a WordPress Child Theme consists of which files?

Answer

Correct Answer: style.css

Note: This Question is unanswered, help us to find answer for this one

403. WordPress stores the password in plain text in the database.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

404. An introduction to your full blog posts is called a(n):

Answer

Correct Answer: Excerpt

Note: This Question is unanswered, help us to find answer for this one

405. This code remove_action('wp_head', 'wp_generator'); to remove WP generator meta tag. In which file should you place this code?

Answer

Correct Answer: functions.php

Note: This Question is unanswered, help us to find answer for this one

406. Securing the wp-admin/ directory might break some WordPress functionality, such as the AJAX handler at wp-admin/admin-ajax.php.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

407. Which wp-config.php constant defines the path for your content folder?

Answer

Correct Answer: WP_CONTENT_DIR

Note: This Question is unanswered, help us to find answer for this one

408. Which global object should you use if you'd like to interact with the WordPress database directly?

Answer

Correct Answer: $wpdb

Note: This Question is unanswered, help us to find answer for this one

409. is_single is used to get which of the following?

Answer

Correct Answer: The post

Note: This Question is unanswered, help us to find answer for this one

410. What is the correct function for registering custom taxonomies?

Answer

Correct Answer: register_taxonomy()

Note: This Question is unanswered, help us to find answer for this one

411. Does WordPress have official unit tests?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

412. What function do you use to programmatically update a post?

Answer

Correct Answer: wp_update_post

Note: This Question is unanswered, help us to find answer for this one

413. When using translatable text strings in a JavaScript file, which function localizes those strings for the JavaScript file?

Answer

Correct Answer: wp_localize_script();

Note: This Question is unanswered, help us to find answer for this one

414. The WordPress default theme consists of the following items:

Answer

Correct Answer: header, sidebar menu, post, footer

Note: This Question is unanswered, help us to find answer for this one

415. What is the function that check if the user is logged in?

Answer

Correct Answer: is_user_logged_in()

Note: This Question is unanswered, help us to find answer for this one

416. What is the proper way to determine the local path to your plugin files?

Answer

Correct Answer: plugin_dir_path()

Note: This Question is unanswered, help us to find answer for this one

417. How to run shortcode in your theme file?

Answer

Correct Answer: do_shortcode()

Note: This Question is unanswered, help us to find answer for this one

418. Will your WordPress blog have the same visual styling as the administration panel?

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

419. What is the recommended method for including the 'footer.php' file within your theme's template files?

Answer

Correct Answer: get_footer()

Note: This Question is unanswered, help us to find answer for this one

420. In a standard single installation of WordPress, which sub-menu should you use to change your site's registration options?

Answer

Correct Answer: General

Note: This Question is unanswered, help us to find answer for this one

421. The number of posts displayed on the index page is typically set via which Dashboard section?

Answer

Correct Answer: Settings -> Reading

Note: This Question is unanswered, help us to find answer for this one

422. Name the first file (or files) that you need to create to make a child theme:

Answer

Correct Answer: style.css

Note: This Question is unanswered, help us to find answer for this one

423. Which of the following will execute a MySQL query against the WordPress database?

Answer

Correct Answer: $wpdb->query()

Note: This Question is unanswered, help us to find answer for this one

424. Which WP function is used to know the log status of current user?

Answer

Correct Answer: is_user_logged_in()

Note: This Question is unanswered, help us to find answer for this one

425. What constant can you set to control the number of post revisions WordPress keeps?

Answer

Correct Answer: WP_POST_REVISIONS

Note: This Question is unanswered, help us to find answer for this one

426. "attachment" is a post type?

Answer

Correct Answer: true

Note: This Question is unanswered, help us to find answer for this one

427. What function would you use to check if a plugin is currently active?

Answer

Correct Answer: is_plugin_active()

Note: This Question is unanswered, help us to find answer for this one

428. Who is eligible to contribute to the continually growing number of templates and plugins offered by WordPress?

Answer

Correct Answer: anyone

Note: This Question is unanswered, help us to find answer for this one

429. Individual installations of WordPress can be protected with security plugins

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

430. How do you change which page displays on the home page of your site?

Answer

Correct Answer: Edit the Reading Settings.

Note: This Question is unanswered, help us to find answer for this one

431. What is the name of the WYSIWYG editor used in WordPress?

Answer

Correct Answer: TinyMCE

Note: This Question is unanswered, help us to find answer for this one

432. By adding define('WP_POST_REVISIONS', 3); to your wp-config.php file, you are effectively:

Answer

Correct Answer: Limiting post revisions to the last 3

Note: This Question is unanswered, help us to find answer for this one

433. An AJAX action registered within WordPress can be accessed directly without performing a JavaScript-driven AJAX call.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

434. Who can see password protected posts without knowing the password?

Answer

Correct Answer: Editor and Admin

Note: This Question is unanswered, help us to find answer for this one

435. Where can you find plugins for combating comment spam?

Answer

Correct Answer: Official WordPress Plugin Directory

Note: This Question is unanswered, help us to find answer for this one

436. WordPress allows access to a portable core. This implies

Answer

Correct Answer: you can utilize your public domain as well as store WP related files and directory tree in the WP domain

Note: This Question is unanswered, help us to find answer for this one

437. What feature allows you to attach additional non-standard information to posts?

Answer

Correct Answer: Custom Fields

Note: This Question is unanswered, help us to find answer for this one

438. If a theme is not acting as anticipated after loading a plugin, what should you do?

Answer

Correct Answer: Upgrade the plugin or deactivate it

Note: This Question is unanswered, help us to find answer for this one

439. These are provided in the Plugin API and enable your plugin to call functions at specific times during the loading of WP.

Answer

Correct Answer: hooks

Note: This Question is unanswered, help us to find answer for this one

440. Under WordPress Coding Standards, you should NEVER use shorthand PHP start tags and always use full PHP tags.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

441. Template file sidebar.php must be included in every theme

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

442. What is the safest way to customize the look and functionality of your site without losing the changes on updates?

Answer

Correct Answer: create a child theme with style.css and functions.php.

Note: This Question is unanswered, help us to find answer for this one

443. Expert WordPress users often share their insight and knowledge by publishing help articles here.

Answer

Correct Answer: The Codex

Note: This Question is unanswered, help us to find answer for this one

444. What is the WordPress Codex?

Answer

Correct Answer: An encyclopedia of WordPress knowledge

Note: This Question is unanswered, help us to find answer for this one

445. The default user role for new user registration

Answer

Correct Answer: Subscriber

Note: This Question is unanswered, help us to find answer for this one

446. What type of installation allows for multiple WordPress Sites/Blogs on one WordPress Installation?

Answer

Correct Answer: Multisite

Note: This Question is unanswered, help us to find answer for this one

447. When adding a link to your blog, what is necessary for optimal search engine optimization and user friendly experience?

Answer

Correct Answer: clean URL

Note: This Question is unanswered, help us to find answer for this one

448. In which table is a user's email address stored in a default WordPress installation?

Answer

Correct Answer: wp_users

Note: This Question is unanswered, help us to find answer for this one

449. How do you add a function to a filter hook?

Answer

Correct Answer: add_filters

Note: This Question is unanswered, help us to find answer for this one

450. Who is responsible for backing up your WordPress installation?

Answer

Correct Answer: You

Note: This Question is unanswered, help us to find answer for this one

451. Which function should be used to include header.php template file?

Answer

Correct Answer: get_header

Note: This Question is unanswered, help us to find answer for this one

452. Which of these parameters does update_post_meta() accept?

Answer

Correct Answer: all of these

Note: This Question is unanswered, help us to find answer for this one

453. WordPress.com is a service which

Answer

Correct Answer: allows you to set up a blog for free.

Note: This Question is unanswered, help us to find answer for this one

454. In order to extend or enhance the core functionality of a blog, which of the following might you use?

Answer

Correct Answer: Plugins

Note: This Question is unanswered, help us to find answer for this one

455. What constant can you set to true to display PHP errors & warnings?

Answer

Correct Answer: WP_DEBUG

Note: This Question is unanswered, help us to find answer for this one

456. It is possible to change wp-admin with the help of .htaccess file.

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

457. You can export and import your blog from which Dashboard section?

Answer

Correct Answer: Tools

Note: This Question is unanswered, help us to find answer for this one

458. By default, who does not have the "edit_published_posts" capability?

Answer

Correct Answer: Contributor

Note: This Question is unanswered, help us to find answer for this one

459. Which of the following is a good reason to delete the admin account?

Answer

Correct Answer: To enhance security

Note: This Question is unanswered, help us to find answer for this one

460. WordPress is free and licensed under

Answer

Correct Answer: GPL

Note: This Question is unanswered, help us to find answer for this one

461. In the "Add New Post" screen, you have a choice of two editors to use. What are they?

Answer

Correct Answer: Visual and HTML

Note: This Question is unanswered, help us to find answer for this one

462. Which WordPress function do you need to use to send users to another URL?

Answer

Correct Answer: wp_redirect

Note: This Question is unanswered, help us to find answer for this one

463. Which one of the following is NOT a pluggable function

Answer

Correct Answer: None. All of them are pluggable.

Note: This Question is unanswered, help us to find answer for this one

464. WordPress is licensed under which of the following?

Answer

Correct Answer: GPLv2

Note: This Question is unanswered, help us to find answer for this one

465. When you install a plugin, in what directory will the plugin code be stored?

Answer

Correct Answer: wp-content

Note: This Question is unanswered, help us to find answer for this one

466. If you want to be allowed to access wp-admin/maint/ what do you need to do first?

Answer

Correct Answer: Edit wp-config.php file and set WP_ALLOW_REPAIR to true

Note: This Question is unanswered, help us to find answer for this one

467. if ( have_posts() ) { while ( have_posts() ) { the_post(); } } This is best described as a(n):

Answer

Correct Answer: WordPress posts loop

Note: This Question is unanswered, help us to find answer for this one

468. What is a WordPress Theme Framework?

Answer

Correct Answer: A code library or starter theme used to facilitate development of custom WordPress themes

Note: This Question is unanswered, help us to find answer for this one

469. Which of the following is preferable for loading a template part other than header, sidebar, or footer?

Answer

Correct Answer: get_template_part()

Note: This Question is unanswered, help us to find answer for this one

470. What filters out your comment and track-back spam?

Answer

Correct Answer: Akismet

Note: This Question is unanswered, help us to find answer for this one

471. For a self hosted WordPress website, where are your pictures stored by default?

Answer

Correct Answer: /wp-content/uploads/

Note: This Question is unanswered, help us to find answer for this one

472. Where can you make functional edits to your WordPress theme without adding plugins?

Answer

Correct Answer: functions.php

Note: This Question is unanswered, help us to find answer for this one

473. This is a simple set of functions for creating macro codes that let you embed options to install a contact form, blog archive index, images, videos, or audio

Answer

Correct Answer: Shortcode API

Note: This Question is unanswered, help us to find answer for this one

474. A user with the level of Contributor can adjust your site settings.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

475. How do you add a shortcode?

Answer

Correct Answer: Using the add_shortcode function

Note: This Question is unanswered, help us to find answer for this one

476. A self-hosted WordPress website is totally hacker-proof.

Answer

Correct Answer: Never

Note: This Question is unanswered, help us to find answer for this one

477. To move a WordPress blog from one server to another you first need to

Answer

Correct Answer: backup your WordPress directory, images, plugins, and other files on your site as well as the database

Note: This Question is unanswered, help us to find answer for this one

478. What do WordPress users commonly use to skin their blogs?

Answer

Correct Answer: Themes

Note: This Question is unanswered, help us to find answer for this one

479. If you want to create a custom WP loop without affecting the original query, you would use which of the following?

Answer

Correct Answer: $my_query = new WP_Query();

Note: This Question is unanswered, help us to find answer for this one

480. True or False? WordPress plugins and themes can be only released via wordpress.org

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

481. What is required to activate Akismet in WP?

Answer

Correct Answer: An Akismet API Key

Note: This Question is unanswered, help us to find answer for this one

482. What are the two parts to backing up your WordPress site?

Answer

Correct Answer: database and files

Note: This Question is unanswered, help us to find answer for this one

483. When displaying a URL inside an anchor tag (<a>), which function should be used to escape the URL before displaying it?

Answer

Correct Answer: esc_url()

Note: This Question is unanswered, help us to find answer for this one

484. When designing for mobile devices, it is best to:

Answer

Correct Answer: Use percentage measurements for formatting to adjust dynamically

Note: This Question is unanswered, help us to find answer for this one

485. Which function should you use to retrieve the contents of a remote file?

Answer

Correct Answer: wp_remote_get

Note: This Question is unanswered, help us to find answer for this one

486. When used in a post or page, the tag [button] is an example of what?

Answer

Correct Answer: Shortcode

Note: This Question is unanswered, help us to find answer for this one

487. How is Wordpress licensed?

Answer

Correct Answer: GNU General Public License

Note: This Question is unanswered, help us to find answer for this one

488. What is Akismet?

Answer

Correct Answer: A standard spam and comment management plugin that has been featured since WordPress 2.0

Note: This Question is unanswered, help us to find answer for this one

489. It is important to enqueue your parent and child theme stylesheets.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

490. True or false? Plugins are compatible with each other at all times.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

491. What default user role is required to activate a new theme?

Answer

Correct Answer: Administrator

Note: This Question is unanswered, help us to find answer for this one

492. HTML knowledge is required to install a WordPress theme.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

493. Wordpress allows Two Step Authentication

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

494. In WordPress, how do you make (1) static page the "Home Page" of your website?

Answer

Correct Answer: "Settings -> Reading -> Set Front Page"

Note: This Question is unanswered, help us to find answer for this one

495. Which of the following is a valid permalink format?

Answer

Correct Answer: All are valid

Note: This Question is unanswered, help us to find answer for this one

496. What's the difference between WordPress.com and WordPress.org?

Answer

Correct Answer: WordPress.com offers a free hosting service for WordPress blogs, WordPress.org offers downloads of the free software for self hosting.

Note: This Question is unanswered, help us to find answer for this one

497. WordPress is only available to web hosting companies and/or domain registrars.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

498. Which is the necessary file if you need to create a child theme?

Answer

Correct Answer: style.css

Note: This Question is unanswered, help us to find answer for this one

499. Where can "Widgets" be found on the WP Dashboard?

Answer

Correct Answer: Appearance > Widgets

Note: This Question is unanswered, help us to find answer for this one

500. How much would it cost to get your own copy of the WordPress source code?

Answer

Correct Answer: Nothing, they give it away for free.

Note: This Question is unanswered, help us to find answer for this one

501. How do you edit your WordPress profile?

Answer

Correct Answer: Click “Edit profile” under the My Account dropdown menu

Note: This Question is unanswered, help us to find answer for this one

502. With default settings, what's the first step in configuring WordPress Multisite?

Answer

Correct Answer: Set WP_ALLOW_MULTISITE to true in wp-config.php

Note: This Question is unanswered, help us to find answer for this one

503. All of your uploaded photographs can be viewed from which top-level Dashboard section?

Answer

Correct Answer: Media

Note: This Question is unanswered, help us to find answer for this one

504. Which media type is not allowed to be uploaded by default in a WordPress multi-site?

Answer

Correct Answer: bmp

Note: This Question is unanswered, help us to find answer for this one

505. What is the WordPress.com tag line?

Answer

Correct Answer: A better way to blog

Note: This Question is unanswered, help us to find answer for this one

506. There can only be one loop in a template.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

507. What are categories?

Answer

Correct Answer: They allow you to organize your blog by subject

Note: This Question is unanswered, help us to find answer for this one

508. From which of the following blog sites does WordPress provide the feature to import posts?

Answer

Correct Answer: Blogger

Note: This Question is unanswered, help us to find answer for this one

509. If "abc" is the name of the default WordPress theme, how will you name its child theme (for public use)?

Answer

Correct Answer: abc-child

Note: This Question is unanswered, help us to find answer for this one

510. When you use the "Export" feature of WordPress, it creates a ______ file which can then be imported to retrieve all posts, pages, comments, custom fields, categories, and tags.

Answer

Correct Answer: XML

Note: This Question is unanswered, help us to find answer for this one

511. How do you change the date display format in WordPress posts?

Answer

Correct Answer: Change the format under General Settings

Note: This Question is unanswered, help us to find answer for this one

512. In which table is a user's display_name stored?

Answer

Correct Answer: wp_users

Note: This Question is unanswered, help us to find answer for this one

513. post, page, attachment, revision and nav_menu_item are all reserved post types?

Answer

Correct Answer: true

Note: This Question is unanswered, help us to find answer for this one

514. WordPress displays in US English by default, but is capable of being used with

Answer

Correct Answer: any language

Note: This Question is unanswered, help us to find answer for this one

515. Themes can add which of the following to WordPress?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

516. True or False? A standard WordPress installation can be set to require an administrator to always approve a comment without a plugin.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

517. What is the name of WP_Query pagination parameter used to limit posts shown per page?

Answer

Correct Answer: posts_per_page

Note: This Question is unanswered, help us to find answer for this one

518. Which license is WordPress available under?

Answer

Correct Answer: GPL v2

Note: This Question is unanswered, help us to find answer for this one

519. What can widgets do with supported themes?

Answer

Correct Answer: Add content to your sidebars

Note: This Question is unanswered, help us to find answer for this one

520. Which of the following can you download and use to extend the native WordPress functionality?

Answer

Correct Answer: plugins

Note: This Question is unanswered, help us to find answer for this one

521. True or false? wp_enqueue_scripts is the proper hook to use when enqueuing items that are meant to appear on the front end, but despite the name, it is used for enqueueing both scripts and styles.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

522. Which function should you use to send an e-mail from within WordPress?

Answer

Correct Answer: wp_mail

Note: This Question is unanswered, help us to find answer for this one

523. WordPress is powered by the content management platform Drupal.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

524. When upgrading to a newer version of WordPress, you should check with your web host to ensure the following minimum required versions of these exist:

Answer

Correct Answer: PHP and MySQL

Note: This Question is unanswered, help us to find answer for this one

525. Can you migrate your WordPress.com blog to your own hosted website?

Answer

Correct Answer: Yes, but you need to export the content and re-import it to your website

Note: This Question is unanswered, help us to find answer for this one

526. Does WordPress have a built-in url rewrite engine?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

527. What are the registered user roles?

Answer

Correct Answer: Subscriber, contributor, author, editor, administrator

Note: This Question is unanswered, help us to find answer for this one

528. On a default configuration of self-hosted WordPress, which one of these lets me login to manage the site?

Answer

Correct Answer: /wp-login.php

Note: This Question is unanswered, help us to find answer for this one

529. When you install a plugin, where will the plugin be saved?

Answer

Correct Answer: wp-content

Note: This Question is unanswered, help us to find answer for this one

530. WordPress's primary support website is WordPress.org

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

531. What is the file that WordPress edits (or you can edit yourself) when installing WordPress?

Answer

Correct Answer: The wp-config.php file

Note: This Question is unanswered, help us to find answer for this one

532. Which one of the following is required in a child theme. What is it?

Answer

Correct Answer: style.css

Note: This Question is unanswered, help us to find answer for this one

533. WordPress Widgets are designed to do the following:

Answer

Correct Answer: simplify the arrangement of the various elements of your sidebar content, without code changes

Note: This Question is unanswered, help us to find answer for this one

534. How can you add a plugin to your WordPress site?

Answer

Correct Answer: In the navigation menu, choose “add new” under plugins

Note: This Question is unanswered, help us to find answer for this one

535. Which plugin is used for the contact form

Answer

Correct Answer: Contact Form 7

Note: This Question is unanswered, help us to find answer for this one

536. How would you troubleshoot the error message: "Database not connected."?

Answer

Correct Answer: Check the database name, user and password in wp-config.php

Note: This Question is unanswered, help us to find answer for this one

537. What are tools to extend the functionality of WordPress?

Answer

Correct Answer: Plugins

Note: This Question is unanswered, help us to find answer for this one

538. What is WooCommerce?

Answer

Correct Answer: It's a plugin for electronic commerce

Note: This Question is unanswered, help us to find answer for this one

539. What is a theme in WordPress?

Answer

Correct Answer: A set of files that work together to create the design and functionality of a WordPress site

Note: This Question is unanswered, help us to find answer for this one

540. WordPress can only be used as a blog.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

541. When registering a new post type if you set public => true, then your post type will be

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

542. Where can you edit your permalink settings?

Answer

Correct Answer: Settings - Permalinks

Note: This Question is unanswered, help us to find answer for this one

543. Standard post URLs like /index.php?p=76 can be replaced via:

Answer

Correct Answer: Permalinks

Note: This Question is unanswered, help us to find answer for this one

544. How can you add an image to your blog entry?

Answer

Correct Answer: Click "add an image" and enter the URL of the image, or upload an image from your computer

Note: This Question is unanswered, help us to find answer for this one

545. Wordpress is used by major companies such as People Magazine and CNN

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

546. How can you display an RSS feed in your blog?

Answer

Correct Answer: Add the RSS widget to your sidebar

Note: This Question is unanswered, help us to find answer for this one

547. WordPress began as a publishing platform for:

Answer

Correct Answer: Blogs

Note: This Question is unanswered, help us to find answer for this one

548. True Or False ? is it possible to disable WordPress autosave function?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

549. Is it possible to add a full-featured security plugin to your WordPress installation?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

550. Before you upgrade WordPress, what is the most important task you must perform?

Answer

Correct Answer: backup your database

Note: This Question is unanswered, help us to find answer for this one

551. In what folder are Plugins and Themes located?

Answer

Correct Answer: wp-content/

Note: This Question is unanswered, help us to find answer for this one

552. This filter is used by WP to minimize spam content:

Answer

Correct Answer: Akismet

Note: This Question is unanswered, help us to find answer for this one

553. The sections of information that you can visually drag into your sidebar / footer are called?

Answer

Correct Answer: Widgets

Note: This Question is unanswered, help us to find answer for this one

554. In WordPress, what is the user role with the highest privilege level?

Answer

Correct Answer: Administrator

Note: This Question is unanswered, help us to find answer for this one

555. Can you unschedule an event from WP cron, if the event has been created by another plugin?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

556. How can you install a widget on your blog?

Answer

Correct Answer: Go to “widgets” in Appearance, browse available widgets and install them

Note: This Question is unanswered, help us to find answer for this one

557. What is the key to solid WordPress SEO?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

558. Once you have entered your content onto your blog and completed final edits, what button do you activate to send it live?

Answer

Correct Answer: Publish

Note: This Question is unanswered, help us to find answer for this one

559. Where can you change your blog title?

Answer

Correct Answer: Under the "Settings > General" screen within the WordPress admin

Note: This Question is unanswered, help us to find answer for this one

560. How do you speed up the load time of your Wordpress website?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

561. You can build your WordPress site in your own language?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

562. WordPress is a:

Answer

Correct Answer: Content Management System

Note: This Question is unanswered, help us to find answer for this one

563. How much time do you have to edit a post after publishing?

Answer

Correct Answer: Posts can be edited at any time.

Note: This Question is unanswered, help us to find answer for this one

564. Which relational database does WordPress use?

Answer

Correct Answer: MySQL

Note: This Question is unanswered, help us to find answer for this one

565. You can post to WordPress from iOS, Android, Blackberry, Windows Phone 7, and WebOS phones.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

566. How can you get involved with WordPress?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

567. WordPress requires which of the following?

Answer

Correct Answer: A server with PHP and MySQL

Note: This Question is unanswered, help us to find answer for this one

568. When you use custom CSS to lay out your site, you can:

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

569. What considerations should you make when using WordPress for a high-traffic site?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

570. Can you add custom meta boxes to the post editor page?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

571. What is the default WordPress admin url?

Answer

Correct Answer: /wp-admin

Note: This Question is unanswered, help us to find answer for this one

572. I am backing up my WordPress website. At a minimum, I need to make copies of:

Answer

Correct Answer: The database and wp-content folder.

Note: This Question is unanswered, help us to find answer for this one

573. What is the maximum number of blogs that can be created in a WordPress network?

Answer

Correct Answer: Unlimited

Note: This Question is unanswered, help us to find answer for this one

574. How much does it costs to host your plugin in WordPress plugin directory?

Answer

Correct Answer: Free

Note: This Question is unanswered, help us to find answer for this one

575. WordPress is written in what programming language?

Answer

Correct Answer: PHP

Note: This Question is unanswered, help us to find answer for this one

576. How many authors can you have on your WordPress blog?

Answer

Correct Answer: Unlimited

Note: This Question is unanswered, help us to find answer for this one

577. Is it possible to hide wordpress header info?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

578. True or False? Wordpress.org's software is free.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

579. Of the following, which is a page in the administrative area of WordPress?

Answer

Correct Answer: Dashboard

Note: This Question is unanswered, help us to find answer for this one

580. WordPress is an example of what type of software?

Answer

Correct Answer: Open Source

Note: This Question is unanswered, help us to find answer for this one

581. What is the name of comment spam prevention plugin that comes default with WordPress?

Answer

Correct Answer: Akismet

Note: This Question is unanswered, help us to find answer for this one

582. True or False: You can replace JavaScript libraries included with Wordpress.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

583. True or False: The $wpdb object can be used to read data from any table in the WordPress database (such as custom plugin tables), not just the standard tables that WordPress creates.

Answer

Correct Answer: true

Note: This Question is unanswered, help us to find answer for this one

584. Do new versions of WP provide support for automatic upgrades of itself?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

585. If you forget your admin password, you should try this first:

Answer

Correct Answer: Click lost password

Note: This Question is unanswered, help us to find answer for this one

586. WordPress gives you the ability to theme the way attachments are displayed by adding MIME_type.php files to your theme.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

587. What is a "pluggable function"?

Answer

Correct Answer: A function placed in wp-includes/pluggable.php that let you override certain core functions via plugins

Note: This Question is unanswered, help us to find answer for this one