Top 50 WordPress interview questions and answers

WordPress interview questions and answers

Table of Contents

1) What is WordPress?

WordPress is an Open Source Content Management System (CMS) and a blogging tool, based on PHP and MySQL. It is free of cost, and you can use it for any personal and commercial website.

WordPress is the most popular blogging system and used for more than 60 million websites. It is licensed under GPL.

2) Is a website on WordPress safe and secure?

WordPress is safe and secure to operate. You need not worry about anything but, still, it is suggested to update your site with latest WordPress version to avoid hacking.

3) Is there any limitation for WordPress website?

WordPress can be used for e-commerce sites, membership sites, photo galleries and any other type of site you can think. Following are some disadvantages of WordPress:

Using several plugins can make the website heavy to load and run. PHP knowledge is required to make modifications or changes in the WordPress website.

Sometimes software needs to be updated to keep the WordPress up-to-date with the current browsers and mobile devices. Updating WordPress version leads to loss of data, so a backup copy of the website is required.

Modifying and formatting the graphic images and tables is difficult.

4) What is the latest version of WordPress?

The latest version of WordPress is 4.9.8 released on Aug 02, 2018.

5) What are the system requirements for installing WordPress?

Database – MySQL 5.0 +

Web Server –

WAMP (Windows)

LAMP (Linux)

XAMP (Multi-platform)

MAMP (Macintosh) Operating System – Cross-platform Browser Support – IE (Internet Explorer 8+), Firefox, Google Chrome, Safari, Opera PHP Compatibility – PHP 5.2+

6) Brief on Photon in WordPress?

Photon is an image speeding up and alteration service for Jetpack-associated WordPress websites. By using this converted images can cache automatically and serve from the CDN. Here images can be edited, resized, and filtered by utilizing an easy simple API controlled by getting query arguments. When you enable Photon in Jetpack, images are refreshed on the fly.

7) What are the steps should be followed for installing WordPress?

Download WordPress from

Extract the downloaded files and upload it on your web server or localhost. Open your web browser and navigate to the WordPress file path. Then you see the first screen of the WordPress installer.

In the next step, please select your preferred language.

In the next step, you see the information needed for the database before proceeding the WordPress installation. enter the details of your Mysql database.

WordPress checks the details provided by you and gives you a confirmation screen. In the next step, you have to enter the administration details.

After entering the administration details, click on “Install WordPress” button.

After successful installation, you get a screen stating “success.” You can see the username and the password on this screen. Enter your username and password on the next screen and click ‘login.’

8) Explain the components shown on the Home screen of WordPress.

Dashboard menu: This component of home screen provides the navigation menu options for posts, media library, pages, and comments on the left side of the screen.
Screen options: This component of the home screen display different types of widgets which can be shown or hidden on some screen. This component also contains the checkboxes to show or hide different screen options and also allow to customize sections on the admin screen.
Welcome: This component of the home page help us to customize WordPress theme by clicking on the customize your site button. Also, the center column provides some of the useful links such as creating a page and view the front end of your web page, creating a blog post. Moreover, the last column contains links to the menus, widgets, settings related to comments.
Quick Draft: This component of the home screen includes a mini post editor which is used to write, save, and publish the post from the admin dashboard. This include title of the draft followed by some notes about the draft and save it as a draft.
WordPress news: This component of home screen displays the latest news regarding the latest software update of WordPress.
Activity: This component of the home screen shows the latest comments, recent posts published. It also allows you to reply, edit, delete, approve, or disapprove the comments. You can also move comments to spam.
At a Glance: This component of home screen displays an overview of your blog?s posts, number of published posts and pages, and number of comments.

9) Is it possible to SEO a WordPress site to show it on Google first page?

WordPress has an inbuilt SEO search engine benefit. You can also have an additional plug-in in WordPress to help with SEO and rank on a favorite search engine like Google.

10) What is the difference between character 23 and x23?

Here 23 specifies the octal 23 and x23 determine the hex 23.

11) What are the hooks? Define different types of hooks in WordPress.

Hooks enable users to create WordPress themes or plug-ins with shortcode without changing the original files.

There are two types of hooks:

Action hooks: Action hooks facilitate you to insert an additional code from an outside resource.

Filter hooks: Filter hooks facilitate you to add content or text at the end of the post.

12) What are the most exciting and useful features of WordPress?

These are the features which make WordPress very popular:

Easy to install and upgrade.

In-built SEO engine.

Free and easy theme selection.


Multilingual- available in more than 70 languages.

Own data- no unwanted advert on your website.

Flexibility and Easy publishing option.

13) Why does WordPress use MySQL?

Following are the reasons to use MySQL with WordPress:


Extremely fast.

A widely available database server.

Supported by low-cost Linux hosting.

14) How many tables are there in WordPress by default?

At present version, there are about 11 tables in WordPress by default. You can check the number of tables in WordPress by phpMyAdmin.










wp_usermeta wp_users

15) What is by default prefix of WordPress tables?

The wp_ is by default prefix of WordPress tables.

16) Which is considered more secured or is relatively more secure than because they limit the themes and does not allow plugin’s installation. However, security depends on the hosting company of your website and also what steps they are taking to prevent the security problems.

17) How can you edit a WordPress comment?

You can edit WordPress comment using the dashboard. From the panel, under the Comments option, select edit to edit a comment.

18) Explain the difference between WordPress Categories and Tags.

WordPress Categories are broad-ranging. It helps a user to identify about a blog. It is possible for a post to have more than one category. A post must have at least one category.

WordPress Tags are like categories, but they are used to describe a post more specifically. Tags are not necessary for every post.

19) How will you select a WordPress theme?

WordPress theme should complement your site. It can be either free or paid. An ideal theme should have qualities like simple, responsive, supports plugins, SEO friendly.

20) What is the difference between custom themes and normal themes?

Custom themes are very straightforward to format. You don’t need much technical knowledge to change in the coding part. The custom theme allows for SEO search, but with an SEO plugin available it would not make much difference to a normal theme.

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

22) What is the current version of WordPress?

You need to quote the current version of WordPress available in the market along with the release date.

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

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

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

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

27) What is the prefix of WordPress tables by default?

By default, wp_ is the prefix for WordPress.

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

29) 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

WordPress address (URI) :

Blog address( URI) :

After making the changes, you can rename the folder or directory with the WordPress file in it.

30) How 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.

31) What is WordPress loop?

To display post WordPress use PHP code, this code is known as a loop.

32) How 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.

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

34) What are the template tags in WordPress?

In WordPress template tags is a code that instructs WordPress to “do” or “get” something.

35) Does WordPress have cookies?

Yes, WordPress has cookies, and WordPress uses cookies for verification of users while logged in.

36) In which cases 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 the plugin.

37) At 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

38) Why 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.

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

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

41) Do you think WordPress website is safe?

The word press website is safe to operate, but still, it is recommended to keep updating with the most recent version of word press to avoid hacking.

42) Tell me about the useful features of WordPress?

Some of the useful features are:


Inbuilt SEO engine.

Own data.

Free and easy theme selection.

43) Why does WordPress use MYSQL?

The reason to use MYSQL with WordPress:

Particularly fast.


Supported by low-cost Linux hosting.

A widely obtainable database server.

44) Where do you think all the content is stored in WordPress?

Contents in WordPress are stored in MYSQL database on Server.

45) What do you mean by an action book?

An Action hook in WordPress is a clip that is triggered at a precise time when WordPress is operational and lets you take action. It can include things like creating a widget when WordPress is initializing.

46) Tell me the difference between and

The main difference is who’s hosting your site. With org, you host your blog or website. This is where you discover the open-source software to download.-com, they host for you.

47) Define WordPress taxonomy?

Taxonomy is a grouping mechanism for some posts. There are basically four taxonomies in WordPress:

Post Formats



Link Category

48) Name some disadvantages of WordPress?

Some of the disadvantages are:

Modifying Images and tables are hard.

Use of numerous plugins can make website deep to load and slow.

Only utilizes PHP Sometimes updates can direct to loss of data, so you always require a backup copy.

49) What do you mean by a loop in WordPress?

The Loops is PHP code used by WordPress to present posts.

50) How can you disable WordPress comment?

You can disable the WordPress comment on the dashboard. On the panel, under the options- discussion you find “Allow people to post the comment.” Uncheck this to disable comment.

51) How to convert a category into the tag?

WordPress provides you an option to change category into tag and tag into a category. For this, you need to install Categories and Tags Converter from Import option under Tools section.

Rajesh Kumar
Follow me
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x