Thursday, October 24, 2013

Wordpress question and answer part -1


1. What is the safest way to customize the look and functionality of your site without losing the changes on updates?

Ans: create a child theme with style.css and functions.php.

2. You can download WordPress at WordPress.com.

Ans: False

3. WordPress categories allow you to:

Ans: Easily designate items in your site that go together

4. At a very minimum, a WordPress Child Theme consists of which files?

Ans: style.css

5. To change the email address that is used for new user notification, which menu option should you go to?

Ans: Settings

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

Ans: _e('string', 'namespace');

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

Ans: the_title

8. Which of the following is a valid permalink format?

(a) /%year%/%postname%/
(b) /%postname%/
(c) /posts/%post_id%/
(d) /%year%/%monthnum%/%day%/%postname%/

Ans: All are valid

9. 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)

Ans: Remote Procedure Call

10. if ( have_posts() ) { while ( have_posts() ) { the_post(); } } This is best described as a(n):

Ans: WordPress posts loop

11. Which of the following is not a required file in a WordPress Theme?

Ans: sidebar.php

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

Ans: None of the above. No need to delete any files

13. Which wp-config.php constant defines the path for your content folder?

Ans: WP_CONTENT_DIR

14. There can only be one loop in a template.

Ans: False

15. How much can you charge for a plugin released to the Plugin Directory?

Ans: You can't charge for the plugin, but you can charge whatever you want for premium features.

16.

17. Which of these is not a core post type?

Ans: Events

Q. 17. Which is core post type?

Ans: .Post
  • Tag
  • Page
  • Attachment
18. In which table is a user's display_name stored?

Ans: wp_users

19. When registering a new post type if you set public => true, then your post type will be

Ans: All of these
  • visible publicly in the front-end.
  • visible in search results.
  • visible in the admin interface.
  • available for selection in navigation menus.
20. You can export and import your blog from which Dashboard section?
Ans: Tools








No comments: