Important WordPress Theme Developers Interview Questions
Q – 1 Tell me can WordPress use cookies?
Ans- 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.
Q – 2 Tell me the ternary conditional operator in PHP language?
Ans- 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 :.
Q – 3 Tell me in what case you don’t see plugin menu?
Ans- You can’t see your plugin menu when the blog is hosted on free wordpress.com 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.
Q – 4 Tell me how do I find the absolute path I need for uploading images?
Ans- To find the absolute path of a page, absolutepath.zip will help you. Download, unzip, ftp to the location of the page / image / directory and then call the file in your browser
Q – 5 Explain me a difference between characters 35 and x35?
Ans- 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.
Q – 6 Explain what is the special meaning of _sleep and _wakeup?
Ans- _sleeps return the array of all variables than need to be saved, while _wakeup retrives them.
Q – 7 Tell us can you override database values for your sit URLs in wp-config.php?
Ans- Yes, overriding of database values is possible.
Q – 8 Tell me what are the plugins you can use to create contact form in WordPress?
Ans- 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.
Q – 9 Do you know blog is a necessary part to be included in a WordPress Website?
Ans- 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.
Q – 10 Explain me what are the custom fields in wordpress? How to display it?
Ans- 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:-
Q – 11 Tell me is there any other CMS better WordPress?
Ans- WordPress is no doubt a good CMS, but Drupal and Joomla are among the best CMS you can work with.
Q – 12 Tell me what is the limitation to the depth of your categories?
Ans- There is no limitation level to the depth.
Q – 13 What is the method to define a constant?
Ans- We can define a constant by using the below provided command
define() directive
The example of defining a Constant is (“WEBGRANTH”, 100);
Q – 14 Explain which is the best multi-lingual plugin for wordpress?
Ans- Keeping all the limitations in mind, WPML would be the best multi-lingual plugin for wordpress .
Q – 15 Explain me why can’t I delete the uncategorized Category?
Ans- 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.
Q – 16 Explain me what is the procedure to call a constructor for a parent class?
Ans- The command to call a constructor for a parent class is
parent::constructor($value)
Q – 17 Tell me how include and require are different from each other?
Ans- 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.
Q – 18 Tell me how is creating a site on wordpress.org different from wordpress.com?
Ans- Most of the things are similar in both except the choices of themes and the usage of plugins.
Q – 19 Explain me what is the ternary conditional operator in PHP?
Ans- Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.
Q – 20 Do you know what is the default prefix of wordpress tables?
Ans- By default prefix of wordpress is wp_ . But for security reasons it is highly recommend to use different prefix.
Q – 21 Tell me will comparison of string 10″ and integer 11 work in PHP?
Ans- Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Q – 22 Tell us can I rename the WordPress folder?
Ans- 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.
Q – 23 Tell me can you update your own content on the site?
Ans- It depends on the type of the site or project, but yes one can update their own content on the site.
Q – 24 Please explain why widget does not show up in the sidebar?
Ans- 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.
Q – 25 Do you know what is the current version of wordpress?
Ans- 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 https://wordpress.org/