wordpress interview questions

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.

Why WordPress is so popular?

WordPress is so popular because of its features. It is the most popular content management system (CMS) in the world. It is the first choice of everyone who want to create a website because of its popularity. WordPress features include a plug-in architecture and template system. Nowadays, WordPress is used by more than 19% of the top million websites. It is of many PHP/MySQL content management systems that allow content editors to use a web interface to maintain their websites instead of editing and uploading HTML files to a server.

  • Simplicity and Flexibility
  • In-corporate with publishing tools
  • User Management
  • Media Management
  • Full Standards Compliance
  • Ease Theme System
  • Extend with Plugins
  • Built-in Comments
  • Search Engine Optimized & Multilingual
  • Open Source

What are the 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.

How many default tables are in WordPress?

There are altogether 12 tables by default in WordPress.

  • wp_options
  • wp_users
  • wp_links
  • wp_commentmeta
  • wp_term_relationships
  • wp_postmeta
  • wp_posts
  • wp_termmeta
  • wp_term_taxonomy
  • wp_usermeta
  • wp_terms
  • wp_comments

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.

How do you enable debug mode in WP?

You can enable debug mode in WP by editing wp-config.php file and changing WP_DEBUG constant value to true

How many default tables are the WordPress?

There are 11 table in wordpress, they are

  • wp_options
  • wp_users
  • wp_links
  • wp_commentmeta
  • wp_term_relationships
  • wp_postmeta
  • wp_posts
  • wp_term_taxonomy
  • wp_usermeta
  • wp_terms
  • wp_comments

In WordPress, objects are passed by value or by reference.

In WordPress, all objects are passed by value.

What is the function name to get the website URL in WordPress?

get_site_url(); function is used to get website URL in WordPress.

Does WordPress use cookies?

Yes, WordPress has cookies and uses them for verification purpose of the users while they log in.

What is a child theme?

The extension of a parent theme is a child theme. In case you make changes to the parent theme, then any update will undo the changes. When working on a child theme, the customizations are preserved on an update.