New WordPress Themes Development Interview Preparation Guide
Download PDF

WordPress Themes Development based Frequently Asked Questions by expert members with experience as WordPress Theme Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts

109 WordPress Theme Development Questions and Answers:

Table of Contents:

New  WordPress Theme Development Job Interview Questions and Answers
New WordPress Theme Development Job Interview Questions and Answers

1 :: Tell me can WordPress use cookies?

Yes, wordpress use cookies. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users.

2 :: Tell me the ternary conditional operator in PHP language?

Ternary Condition is a very popular operator in PHP which evaluates the expression preceding the ?. If the condition is true then it executes the expression preceding : and If the condition is false then it executes the expression following :.

3 :: Tell me in what case you don’t see plugin menu?

You can’t see your plugin menu when the blog is hosted on free as you cannot add plugin there. Also, if you do not have an account of an administrator level on your WordPress is not possible to see plugin.

4 :: Tell me how do I find the absolute path I need for uploading images?

To find the absolute path of a page, will help you. Download, unzip, ftp to the location of the page / image / directory and then call the file in your browser

5 :: Explain me a difference between characters 35 and x35?

These Both Characters are a way different from each other. The first character is defined as octal 35 whereas the second one is Hex 35.

6 :: Explain what is the special meaning of _sleep and _wakeup?

_sleeps return the array of all variables than need to be saved, while _wakeup retrives them.

8 :: Tell me what are the plugins you can use to create contact form in WordPress?

To create a contact form in WordPress you can use plugin like Gravity forms or also you can use a free plugin contact form 7.

9 :: Explain me what are the custom fields in wordpress? How to display it?

We will add extra information to our post by using custom fields.Custom Fields are a form of meta-data that allows us to store arbitrary information with each WordPress post.
To display the Custom Fields for each post, use the the_meta() template tag.
To fetch meta values use the get_post_meta() function.
For example we use custom fields:-

<?php echo get_post_meta($post->ID, ‘key’, true); ?>

10 :: Tell me is there any other CMS better WordPress?

WordPress is no doubt a good CMS, but Drupal and Joomla are among the best CMS you can work with.

12 :: What is the method to define a constant?

We can define a constant by using the below provided command
define() directive
The example of defining a Constant is (“WEBGRANTH”, 100);

13 :: Explain which is the best multi-lingual plugin for wordpress?

Keeping all the limitations in mind, WPML would be the best multi-lingual plugin for wordpress .

14 :: Explain me why can’t I delete the uncategorized Category?

Any Category with a non-zero value for # of Posts in the Administration > Manage > Categories cannot be deleted. The uncategorized Category might be assigned to some Posts, but all Pages are assigned the uncategorized Category. So even though there may be no posts assigned to the uncategorized Category, Pages are included in the count of # of Posts.
The default category cannot be deleted even if it is empty, however you can specify your default categories for posts or links on the Options – Writing page of the admin panel.

15 :: Do you know blog is a necessary part to be included in a WordPress Website?

No it is not a necessary part. Although WP was first designed as a platform for blogging but now it can be used for every genre of websites. Blogs are added in the website to provide valuable information to the visitor and for a better SEO.

16 :: Explain me what is the procedure to call a constructor for a parent class?

The command to call a constructor for a parent class is

17 :: Tell me how include and require are different from each other?

Both include and require scans the program. If the require() function doesn’t find any file than the script will not execute. On the other hand if the include() file can’t find a file or encounter any error then the warning notification will be raised but the script will still execute.

18 :: Tell me how is creating a site on different from

Most of the things are similar in both except the choices of themes and the usage of plugins.

19 :: Explain me what is the ternary conditional operator in PHP?

Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.

20 :: Do you know what is the default prefix of wordpress tables?

By default prefix of wordpress is wp_ . But for security reasons it is highly recommend to use different prefix.

21 :: Tell me will comparison of string 10″ and integer 11 work in PHP?

Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.

22 :: Tell us can I rename the WordPress folder?

If you have not already installed WordPress, you can rename the folder with the WordPress files, before, or even after uploading the files.
If you have already installed WordPress, and you want to rename the folder, login to the weblog as the administrator and change the following settings in Settings > General:
WordPress address (URI):
Blog address (URI):
Once you have done this, you can rename the directory or folder with the WordPress files in it.

23 :: Tell me can you update your own content on the site?

It depends on the type of the site or project, but yes one can update their own content on the site.

24 :: Please explain why widget does not show up in the sidebar?

While using widget you have to ensure whether your theme supports the widget and if it does then it must show the sidebar. If in any case if it happens that you don’t see the sidebar then it might be missing the “function.php” file or file similar to that. This can also happen if you have forgot to save the changes in the widget or refreshing the older display of the page.

25 :: Do you know what is the current version of wordpress?

You need to quote the current version of WordPress available in market along with the release date. WordPress team continuously updating core. So see current version on below url
WordPress Theme Development Interview Questions and Answers
109 WordPress Theme Development Interview Questions and Answers