Wednesday 25 April 2018

Wordpress Interview Questions

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.

4) Do 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.

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

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
  • Flexibility
  • 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
WordPress address (URI)  :
Blog address( URI) :
After making the changes, you can rename the folder or directory with the WordPress file in it.

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

15) What is WordPress loop?

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

More about WordPress:

No comments:

Post a Comment