Here are some of the questions relating WordPress that can be asked to you during interview. Mostly the interview starts with the basic concept. So its very important to clear your basic concepts first. Later, the questions asked by them depends upon the answer you give for the previous question. So always be careful to not to show overconfidence and to include terms you are less aware of. This set of questions will help to crack the interview for both experienced as well as for fresher candidates.
1 What is WordPress?
Word press is a best Open Source CMS which allows it to be used free of cost. You can use it on any personal or commercial website without having to pay a single penny for it. It is built on PHP/MySQL (which is again Open Source) and licensed under GPL.
2 How safe is a website on WordPress?
The word press is safe to operate, but still, it is suggested to keep updating with the latest version of WordPress to avoid hacking.
3 Are there any limitations to a WordPress website?
You can use WordPress for e-commerce sites, membership sites, photo galleries and any other type of site you can think of. The website is created using the same HTML code as any other site, so there are no limitations there either.
4Do you need to have a blog in order to use WordPress for a site?
WordPress was originally used as blogging software though it has since become popular for the website also. It is not necessary to have a blog to use WordPress. Still having a blog is commendable as it will help in search engine optimization.
5 From SEO point of view is WordPress helpful? Will it show the website on Google?
It is one of the benefits of using WordPress; it has inbuilt SEO search engine. Also, you can have an additional plug-in in WordPress to help with SEO and rank on a popular search engine like Google.
6What is the current version of WordPress?
You need to quote the current version of WordPress available in the market along with the release date.
7 What are the types of hooks in WordPress and mention their functions?
There are two types of hooks 1) Action hooks 2) Filter hooks
Hooks allow a user to create WordPress theme or plugin with shortcode without changing the original files. Action hooks allow you to insert an additional code from an outside resource, whereas, Filter hooks will only allow you to add content or text at the end of the post.
8 What do you mean by a custom field in WordPress?
The custom field is a meta-data that allows you to store arbitrary information in the WordPress post. Through custom field, extra information can be added to the post.
9 What are the positive aspects of WordPress?
Few positive aspects of WordPress are
Easy installation and upgrade
In-built SEO engine
Easy theme system
Multilingual- available in more than 70 languages
Own data- no unwanted advert on your website
Flexibility and Easy publishing option
10 What are the rules that you have to follow for WordPress plugin development?
Create a unique name
Create the plugin’s folder
Create a sub-folder for PHP files, translations, and assets
Create the main plug-in file and fill in the header information
Create activation and de-activation functions
Create an uninstall script
Create a readme.txt file
To detect paths to plugin file use proper constants and functions
11 What is the prefix of WordPress tables by default?
By default, wp_ is the prefix for WordPress.
12 Why does WordPress use MySQL?
MySQL is widely available database server and is extremely fast. It is an open source, and it is available at no cost also it is supported by many low-cost Linux hosts so its easy for anyone to host their website.
13 Is it possible to rename the WordPress folder?
Yes, it is possible to rename the WordPress folder. If WordPress is already installed, you have to log in to the weblog as the administrator and then change the settings
14How many tables are there in WordPress by default?
There are about 11 tables in WordPress by default. Note: With succeeding releases of WordPress this number will change. You need to check phpMyAdmin to determine the number of tables in a vanilla version of latest WordPress installation
15 What is WordPress loop?
To display post WordPress use PHP code, this code is known as a loop
16How can you disable the WordPress comment?
If you go to the dashboard under options “discussion, there is a comment “ Allow people to post comment” try unchecking the comment
17 What are the steps you can take if your WordPress file is hacked?
Install security plugins like WP security
Re-install the latest version of WordPress
Change password and user-ids for all your users
Check your themes and plug-ins are up to date
18 Does WordPress have cookies?
19 In which cases you don’t see plugin menu?
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 the plugin.
20At what instance you get locked out of your WordPress admin and look at your website as a blank screen?
This would likely happen when you have pasted the code from a website with wrong formats, also when you have pasted the code in an incorrect location. It may also happen when your IP is banned
21Why you use a static front page in WordPress?
Some WordPress users want their WordPress installation to be more than a blog site. To give their page a look more like a real website page some users use static front page.
22 What are the plugins you can use to create a contact form in WordPress?
To create a contact form in WordPress, you can use a plugin like Gravity forms or also you can use a free plugin contact form 7.
23 Why does widget not show up in the sidebar?
While using a 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 forgotten to save the changes in the widget or to refresh the older display of the page.
24 Is there any limitation for using WordPress?
No, there is no limitation for using WordPress. WordPress can be used for innumerable purpose membership site, e-commerce site, photo-gallery and many more.
25How is creating a site on wordpress.org different from wordpress.com?
Most of the things are similar in both except the choices of themes and the use of plugins.
26 Why is wordpress.com considered more secure than wordpress.org?
WordPress.com is considered more secure than wordpress.org because they limit the themes and also does not allow installing plugins. However, the security is more dependable on how the hosting company is hosting your website(wordpress.org) & also what are the steps they are taking to prevent the security problems.
27Do de-activated plugins slow down a WordPress site?
No, de-activated plugins cannot slow down the WordPress site. Wordpress only loads the active plugins and ignores everything else.
28 In what case we cannot recommend WordPress to our client?
We cannot recommend WordPress in the following situation:
If the client is working on a non-CMS base project
If a site wants complex or innovative e-commerce
In case of enterprise intranet solution
Sites are requiring custom scripting solutions.
29 What are the essential features you look for a theme?
Theme selection differs according to the requirement, but an ideal theme would be something that would not restrict to use the number of pages, plugins or static homepage.
30 What is a Child Theme?
The child theme is an extension of the parent theme. If you make changes to the main/parent theme, any update will undo the changes. With a child theme, the customizations are preserved on an update.
31 How can you create a static page with WordPress?
To create a static page in WordPress, in the page section you have to upload a PHP file to the server in the theme folder, and then select that as your template. It allows you to add any page and look that you wanted for your blog and it will remain static
32 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.
33 Which is the best multilingual plugin for WordPress?
Keeping all the limitations in mind, WPML would be the best multilingual plugin for WordPress.
34Can 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
35What are meta-tags?
Meta-tags are keywords and description used to display website or page information.
36 What should one use for plugin development — custom post types or custom database tables?
There is no specific preference for plugin development; it depends on what type of plugin’s one has to develop. Though few recommend custom post type, as it has few benefits compared to a custom database table.
37What are Hooks in WordPress?
Hooks are functions that can be applied to a Filter or an Action in WP and they allow you to, with modifying areas in a theme or plugin without modifying the original file.
Depending on whether you apply them to a Filter or to an Action, they are called action hooks and filter hooks.
38How Does Debugging in WordPress Work?
Let’s take a look at WordPress question and answer about debugging. First of all, we need to know that Debugging PHP code is part of any project and the debug system in WordPress is quite simple.
WP_DEBUG is a PHP constant that can be used to enable the debug mode throughout WordPress at any time. By default, it is assumed to be false so you need to set it to true in the wp-config.php file.
39What are WordPress Taxonomies?
The simplest way to describe a taxonomy when speaking about WordPress technical interview questions is by saying that it is a way to group things together.
Default taxonomies in WordPress are Category, Tag, Link Category, Post Formats.
However, you don’t have to limit yourself to default taxonomies; you are free to create custom ones as well.
40What Types of Websites on WP – Are there Limitations?
No, there aren’t any limitations when it comes to the type of websites WordPress supports. From e-commerce sites to photography portfolios, you can create basically any site you want.
41Is Blog a Must on WP?
One of the WordPress developer interview questions is whether or not it is necessary to have a blog to be able to use WordPress. After all, WordPress was originally a blogging software.
However, the answer is no – a blog is not a must on WordPress although having a blog is a plus for SEO.
42Is WordPress Good for SEO?
One of the very useful WordPress features is its inbuilt SEO search engine as well as additional plugins that are great for SEO and ranking on search engines.
43What Are Custom Fields in WordPress?
Custom fields in WordPress can be assigned to a post for extra information. It is basically meta-data to include bits of information such as… Well, whatever you can think of. Here are some examples of custom fields:
Weather: Drizzle and Moderate Breeze
Currently reading: To Kill a Mockingbird
Favorite color: Green
44How Can I Develop a WordPress Plugin?
One of WordPress interview questions for experienced is how to develop a WordPress plugin.
Here are the basic steps:
You need to come up with a unique name, create the plugin folder with a subfolder for PHP files, create the main plugin file, create functions for activation and deactivation, create an uninstall script and readme.txt file.
45What are the Template Tags?
Template tags are used within the Templates to customize your blog. The common types of tags are:
Navigation Menu Tags
46Is WordPress.com More Secure than WordPress.org? Why?
Since the themes are limited on WordPress.com and installing plugins is not allowed, WordPress.com is considered more secure than Wordress.org.
47Can Deactivated Plugins Slow Down a WP Website?
One of the common WordPress interview questions for freshers is whether or not can the deactivated plugins slow down a WP site – and the answer is no.
WordPress will only load the active plugins and if there are any deactivated plugins preset, it will be the same as if they weren’t there.
48Posts and Pages – What is the Difference?
Pages are static, they are not listed by date, and they don’t use tags or categories. They are permanent and timeless (unless you delete them).
Posts are entries listed in reverse chronological order (the latest appears first). The exception is sticky posts that you can create if you want them to appear at the top.
49Where is the WordPress content stored?
All WordPress content is stored in the MySQL database on Server.
50WordPress.com vs WordPress.org – What is the Difference?
The difference is the host. With WordPress.org – you host your own website; with WordPress.com – they host it for you.
51What are WordPress Plugins?
WordPress offers a huge variety of plugins for maximum flexibility when it comes to creating a website.
You can add spam protection, social networking, complex galleries, calendars, forums, and hundreds of other plugins and features.
52What Do You Need to Run WordPress?
When talking about WordPress interview questions and answers for experienced, as well as WordPress interviews questions and answers for freshers, one that often comes up is what the requirements to run WordPress are.
Here is what is recommended:
PHP version 7.2 or greater
MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
Apache or Nginx are recommended for running WordPress, but any server that supports PHP and MySQL will do
53When is WordPress released?
WordPress was released in 2003 with the latest version being WordPress 4.9.7 released on July 5, 2018.
54What is wordPress Category?
Category is used to indicate sections of your site and group related posts. It sorts the group content into different sections. It is a very convenient way to organize the posts.
55What is wordPress Post?
Posts are also known as articles and sometimes referred as blogs or blog posts. These are used to popularize your blogs.
56What is Preview Post in wordPress?
Preview Post is to view the post before it is published to the user. It's safer to preview your post and verify how your post looks on website.
57What is Publish Post in wordPress?
Publish is used to make the post available to all the users wherein every user can view that particular post.
58What is Media Library?
Media Library consists of the images, audios, videos and files that you can upload and add to the content when writing a Post or Page.
59What is Grid View in Media Library?
It displays all images in the grid format.
60How media files can be inserted into the Wordpress site?
Media files can be inserted to your Pages or Posts from libraries, from local storage or from URLs.