1) What is WordPress?
WordPress 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 wordpress 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.
16) 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.
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) What are the template tags in WordPress?
In WordPress template tags is a code that instructs WordPress to “do” or “get” something.
19) Does WordPress have cookies?
Yes, WordPress has cookies, and WordPress uses cookies for verification of users while logged in.
20) 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.
21) 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
22) 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.
23) 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.
24) 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.
25) 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.
26) How 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.
27) 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.
28) Do 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.
29) 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.
30) 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.
31) 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.
32) 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.
33) 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.
34) Which is the best multilingual plugin for WordPress?
Keeping all the limitations in mind, WPML would be the best multilingual plugin for WordPress.
35) Can 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.
36) What are meta-tags?
Meta-tags are keywords and description used to display website or page information.
37) 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.
38) Can you host WordPress using Amazon web services such as EC2, RDS, EBS, etc.?
Yes, you can host using Amazon web services.
39) Is there any way to write series in WordPress?
You can use organize series plugin to write series in WordPress.
40) What are the reasons why one should not hack WordPress core file?
The best reason not to hack the core files is that whatever you might be doing has to be reworked as a patch.
41. Is it safe to build a website on WordPress?
Yes, it is safe to build, as WordPress not allows hacking.
42. Explain about $wpdb variable in WordPress.
$wpdb is a variable that stores the WordPress database object. It can be utilized to perform custom database activities. It gives the most secure intends for the WordPress database.
43. 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 WordPress.com 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.
44. For SEO, What are the WordPress plugins mainly used?
- Yoast
- Google XML Sitemaps
- Broken Link Checker
- W3 Total Cache
- WPtouch Mobile Plugin
- Jetpack
45. What is the latest WordPress version?
The latest release is the 4.9.4 version.
46. What are the hooks in WordPress?
WordPress Hooks allows the plugins to ‘hook into the rest of the WordPress plugin that you call at specific times, hence your plugin set in motion. WordPress has two kinds of hooks:
- Actions
- Filters
47 Define OAuth2?
It is a protocol that allows the applications for interacting with blogs on WordPress.com
48. What is WordPress?
WordPress, a renowned open-source Content Management System (CMS), empowers users to effortlessly create and manage websites. It has a simple interface that makes it accessible to people who don’t know much about coding. WordPress is suitable for a wide range of websites, including portfolios, business websites, blogs, e-commerce stores, and more, thanks to its versatility and extensive feature set.
49. Are there any limitations to a WordPress website?
Unlock the full potential of WordPress, as it caters to a diverse range of sites, from e-commerce and membership platforms to photo galleries and beyond. With the same HTML code used as any other site, the possibilities are limitless, allowing you to build and customize websites just the way you envision them.
50. Differentiate between WordPress.com and WordPress.org.
WordPress.com is a hosting platform where you can create a website without the need for separate hosting. WordPress.org provides the free WordPress software that you can download and install on your own web hosting.
51. List some of the key features of WordPress.
1) User-Friendly Interface: WordPress provides an intuitive and user-friendly interface, making it easy for users of all levels of technical expertise to manage and update their websites
2) Themes: WordPress offers a vast collection of themes that allow you to change the look and feel of your website with just a few clicks. You can also customize themes or create your own using HTML, CSS, and PHP.
3) Plugins: Plugins can be used for SEO optimization, e-commerce, security, contact forms, social media integration, and much more.
4) User Management: WordPress allows you to create multiple user accounts with different roles and permissions. You can assign specific capabilities to each user, control access levels, and manage user profiles.
5) SEO-Friendly: WordPress is built with SEO (Search Engine Optimization) in mind. It offers features such as customizable permalinks, meta tags, XML sitemaps, and integration with popular SEO plugins, helping you optimize your website for search engines.
6) Regular Updates and Community Support: WordPress has a large and active community of developers and users who contribute to its continuous improvement. Regular updates, security patches, and extensive documentation are provided to ensure a secure and up-to-date CMS.
7) Media Management: WordPress includes a built-in media library where you can upload and manage images, videos, and other media files. You can easily insert media into posts or pages, set featured images, and organize your media files.
52. What are WordPress Plugins?
WordPress plugins are extensions or add-ons that enhance the functionality of a WordPress website. They are packages of code that can be easily installed and activated within the WordPress CMS.
53. What are the requirements to run WordPress?
The requirements to run WordPress include a web server (such as Apache or Nginx), PHP, MySQL or MariaDB, and a domain name.
54. Could you Explain Avatar and Gravatar in WordPress?
In online communications, the user’s profile picture is referred to as an “avatar.” A web-based service called Gravatar lets users use the Avatar image.
55. What are shortcodes in WordPress? Give an example.
Shortcodes are placeholders that allow users to add dynamic content or functionality to their posts or pages by using a simple code. An example of a shortcode is [ gallery ] for displaying image galleries.
56. Explain the difference between WordPress.com and WordPress.org.
WordPress.com is a hosted platform that lets users build websites and blogs without having to use other hosting services. WordPress.org gives a product that can be downloaded and introduced on a web server, permitting clients to have full command over their site.
57. How can you install WordPress?
WordPress can be installed by downloading the software from the official website (WordPress.org), uploading the files to a web server, creating a database, and running the installation script.
58. How can you create a child theme in WordPress?
To create a child theme in WordPress, you need to create a new folder in the “wp-content/themes” directory, create a “style.css” file with specific information and a reference to the parent theme, and optionally create a “functions.php” file for additional customization.
59. Explain the difference between posts and pages in WordPress.
Posts in WordPress are typically used for blog entries or dynamic content that is displayed in reverse chronological order. Pages, on the other hand, are more suitable for static content like “About” or “Contact” pages that don’t need frequent updates.
60. What is a shortcode in WordPress?
A shortcode in WordPress is a small piece of code enclosed in square brackets. It allows users to add dynamic content or functionality to a post, page, or widget without directly writing code.
61. How can you display custom fields in WordPress?
To display custom fields in WordPress, you can use the get_post_meta() function to retrieve the value of a specific custom field. You can then echo or display it wherever you want it to appear.
62. How can you secure your WordPress website?
WordPress websites can be secured by keeping the WordPress core, themes, and plugins up to date. This is done by using strong passwords, limiting login attempts, implementing
63. What is a child theme, and why would you use it?
A child theme is a theme that inherits the functionality and styling of a parent theme. It allows you to make modifications to a theme without directly editing the parent theme files, which helps to preserve your changes during theme updates.
64. How can you add a new menu in WordPress?
To add a new menu in WordPress, you can go to the WordPress dashboard, click on “Appearance” in the sidebar, and then click “Menus.” From there, you can create a new menu, add menu items, and assign the menu to specific locations on your website.
65. How can you add an image gallery in a WordPress post or page?
To add an image gallery in a WordPress post or page, you can use the built-in gallery feature. While editing a post or page, click the “Add Media” button, select the images you want to include in the gallery, and click the “Create Gallery” button.
66. What is a shortcode in WordPress, and how can you create one?
Shortcodes in WordPress are placeholders that allow you to dynamically insert pre-defined functionality or content into your posts or pages. Shortcodes are enclosed in square brackets, such as [ gallery ] to display a gallery.
67. Explain the concept of permalinks in WordPress.
Permalinks in WordPress refer to the URL structure of individual posts, pages, or other types of content. You can configure the permalink structure in the WordPress dashboard under “Settings” > “Permalinks.”
68. What are the requirements to install WordPress?
To install WordPress, you need a domain name and a web hosting provider that supports PHP and MySQL databases.
69. How can you create a custom post type in WordPress?
You can create a custom post type in WordPress by using the register_post_type() function in your theme’s functions.php file or by using a plugin like Custom Post Type UI.
70. How can you optimize the performance of a WordPress website?
Performance optimization techniques for a WordPress website include caching, optimizing images, using a content delivery network (CDN), minifying CSS and JavaScript files, and choosing a reliable hosting provider.
71. How can you create a custom menu in WordPress?
You can create a custom menu in WordPress by going to the Appearance > Menus section in the WordPress dashboard. From there, you can create a new menu, add pages or custom links to it, and assign it to a specific menu location.
72. What is the purpose of the functions.php file in a WordPress theme?
The functions.php file in a WordPress theme is used to add custom PHP code, functions, or hooks to modify the theme’s functionality or add new features.
73. How can you set up a static front page in WordPress?
To set up a static front page in WordPress, you can go to the Settings > Reading section in the WordPress dashboard. You can choose a specific page as the front page and another page as the posts page.
74. What is the WordPress loop?
The WordPress loop is a PHP code structure that retrieves and displays posts or other content from the WordPress database. It is used to iterate through the content and display it dynamically.
75. What is the purpose of the .htaccess file in WordPress?
The .htaccess file in WordPress is used to configure server-level settings and rules. It is often used for URL rewriting, enabling gzip compression, setting cache expiration, and enhancing security.
76. How can you create a custom taxonomy in WordPress?
You can create a custom taxonomy in WordPress by using the register_taxonomy() function in your theme’s functions.php file or by using a plugin like Custom Post Type UI.
77. What is the difference between actions and filters in WordPress?
Actions and filters are two types of hooks in WordPress. Actions allow you to add or modify functionality at specific points in the WordPress execution flow, while filters allow you to modify data before it is displayed or used.
78. How can you display related posts in WordPress?
You can display related posts in WordPress by using plugins that analyze the content and suggest related posts based on categories, tags, or other criteria. You can also create custom queries or use the get_related_posts() function to fetch related posts.
79. What is the purpose of the wp-config.php file in WordPress?
The wp-config.php file in WordPress contains important configuration settings for your website, such as database connection details, security keys, and other settings. It is generated during the WordPress installation process.
80. How can you create a custom login page in WordPress?
You can create a custom login page in WordPress by creating a new PHP file and using the wp_login_form() function to display the login form. You can also customize the login page using plugins or by modifying the theme’s files.
81. What is the difference between a widget-ready area and a sidebar in WordPress?
A widget-ready area is a specific section of a theme that allows you to add widgets, while a sidebar is a common widget-ready area typically located on the left or right side of a webpage. Sidebars are often used for navigation menus or additional content.
82. What is the purpose of the wp_enqueue_script() function in WordPress?
The wp_enqueue_script() function in WordPress is used to register and enqueue JavaScript files. It ensures that scripts are loaded efficiently and avoids conflicts with other plugins or themes.
83. What is the purpose of the wp_head() and wp_footer() functions in WordPress?
The wp_head() function is used to output the HTML head section of a WordPress theme, which includes meta tags, stylesheets, and JavaScript files. The wp_footer() function outputs the closing body and HTML tags, as well as any scripts that need to be placed at the end of the page.
84. What is the purpose of the wp_query() function in WordPress?
The wp_query() function in WordPress is used to create custom queries to retrieve posts or other content from the database. It provides flexibility in specifying various parameters such as post type, taxonomy, and metadata.
85. How can you create a multilingual website in WordPress?
You can create a multilingual website in WordPress by using plugins like WPML (WordPress Multilingual Plugin) or Polylang. These plugins provide translation management and language switching functionality.
86. What is the purpose of the functions get_header() and get_footer() in WordPress?
In WordPress themes, the functions get_header() and get_footer() are utilized to incorporate the header and footer template files, respectively, enhancing the design and layout of the website. They allow for modular development and easy updating of these sections.
87. How can you optimize images in WordPress for better performance?
You can optimize images in WordPress by using compression techniques, such as using image optimization plugins, resizing images to appropriate dimensions, and choosing the right file formats (JPEG, PNG, etc.) based on the content.
88. What is the difference between a static website and a WordPress website?
A static website consists of fixed HTML pages that need to be manually edited to make changes. A WordPress website, on the other hand, is dynamic and allows content to be managed through a CMS, making it easier to update and add new content.
89. What is a customizer in WordPress?
The customizer in WordPress is a feature that allows users to customize various aspects of their website’s appearance and functionality in real-time. It provides a user-friendly interface to make changes to themes, widgets, menus, and other settings.
90. What is the purpose of the wp_nav_menu() function in WordPress?
The wp_nav_menu() function in WordPress is used to display a navigation menu in a theme. It allows you to create menus and assign them to specific locations in your theme.
91. What is the purpose of the WP_Query class in WordPress?
The WP_Query class in WordPress is used to query and retrieve posts or other content from the database. It provides a wide range of parameters and options to customize the query and retrieve specific content based on various criteria.
92. How can you create a custom widget area in WordPress?
You can create a custom widget area in WordPress by adding a new section of code to your theme’s functions.php file that registers a new widget area. Then, you can display this widget area in your theme’s template files using the dynamic_sidebar() function.
93. What is the purpose of the do_shortcode() function in WordPress?
The do_shortcode() function in WordPress is used to execute shortcodes programmatically. It allows you to dynamically generate and display shortcode content within your theme’s template files or in other areas where shortcodes are not automatically parsed.
94. How can you set up a contact form in WordPress?
You can set up a contact form in WordPress by using plugins like Contact Form 7, WPForms, or Gravity Forms. These plugins provide an easy way to create and customize contact forms that can be inserted into your website using shortcode or widget.
95. What is the purpose of the excerpt in WordPress?
The excerpt in WordPress is a short summary or teaser of a post’s content. It is often used to provide a preview of the post on archive pages or in search results. By default, WordPress generates an excerpt automatically based on the content, but you can also manually define a custom excerpt.
96. How can you back up a WordPress website?
You can back up a WordPress website by using plugins that automate the backup process, such as UpdraftPlus or BackupBuddy. These plugins allow you to schedule backups and store them locally or in cloud storage services. Additionally, you can manually back up your website by exporting the database and files through the hosting control panel.
97. How can you create a custom template in WordPress?
You can create a custom template in WordPress by creating a new PHP file in your theme’s folder. You can also add the necessary code to define the template’s structure and functionality.
98. Describe WordPress.
Ans. WordPress is an open-source content management system (CMS) that started in 2003. Licensed under GPLv2 that allows anyone to modify for free, over 400 million websites use it. Some major organisations such as Microsoft, CNN, The New York Times, etc use it. It is a huge ecosystem with more than 50,000 plugins and themes, of which, many are free.
For this fresher-level WordPress interview question, try preparing all the stats and figures related to the CMS to impress your recruiter.
99. What are the basic features and advantages of WordPress?
Ans. Some basic features and advantages of WordPress include
- Ease of online publishing – formatting, scheduling, automatic saving, draft creation, previewing before publishing, etc., necessary for content marketing
- No coding knowledge is required to start with, and it is intuitive to set up
- Create multiple sites on WordPress
- Changing the templates of your website does not affect the content
- Password protection when a site has multiple users working on the CMS platform
- Massive community support on its forum
- Comment enabling and disabling, along with comment spam protection
100. Are there any limitations of WordPress?
Ans. Mention the following
- For additional features like widgets and integration, there is no way other than installing more plugins. And, too many plugins and themes can slow down your website.
- While there are many free plugins and themes, not all may work for a website. For that, you have to buy them, which can become expensive.
101. Could you explain the difference between WordPress.com and WordPress.org?
Ans. The main difference between WordPress.com and WordPress.org is that the first is a service that uses WordPress software. In contrast, the latter, WordPress.org is the source where anyone can download the software.
Try explaining the difference a little more so that your recruiter is able to gauge your understanding of it.
In the case of WordPress.org, you can say that only registered domains and contracted servers can host their WordPress sites. In such cases, there are no limitations to using plugins and themes provided other than WordPress.
For WordPress.com sites, the features are limited as the site does not have a contracted server or a registered domain. For instance, it is not possible to monetise a WordPress.com site with Google AdSense, which can be done in the other. Also, you can only use themes that are provided by WordPress.
102. Define a WordPress plugin.
Ans. A plugin is used inside applications to add functionality. Likewise, a WordPress plugin is used for integrating features for enhancing user experience and a variety of other purposes. For instance, for SEO purposes, there are plugins such as Yoast SEO. This plugin extends the ability to make your content SEO-friendly, giving you a readability and SEO score based on the content you write.
103. Describe how you would install a plugin.
To add any plugin to WordPress, you have to go to the Dashboard and click on Plugins options available on the left-hand side. You can then type on the search bar on the right-hand side to access the plugin repository. Click on Install after finding the plugin and then hit Activate.
104. Name some of the best WordPress plugins.
Ans. You can start with these while answering this WordPress interview question. Also, explain some features of them.
- WooCommerce
- Yoast SEO
- Tablesome
- Wordlift
- Wordfence
- Gravity Forms
- RankMath
- Schema Pro
- PushEngage
105. What is the difference between posts and pages on WordPress?
Ans. Posts and pages are two content types on WordPress. Posts are blogs and articles on your site and on the WordPress dashboard the newest posts appear on top, while the older ones are at the bottom. Pages, on the other hand, are like those about pages on websites which do not get updated after publishing.
106. What is a child theme on WordPress?
Ans. A child theme takes the features and functionality of a parent theme on WordPress. It cannot be independent of a parent theme. Developers can use the child theme for further modifications without affecting the code of the parent theme.
107. How do you customise a child theme?
Ans. You can customise in two ways. One is if you are using CSS and the other .PHP.
If you are using CSS, then it can be done by
- Creating new folder on themes directory, giving the same name as the parent but with an additional name like child
- Creating a stylesheet file
- Enqueueing parent and child theme stylesheets, ensuring the child theme is loaded before the parent theme
- Installing the child theme and then activating it
108. Which database management system does WordPress use?
Ans. It uses MySQL that stores user data, user posts, etc.
109. Which are the primary programming languages used on WordPress?
Ans. WordPress developers have to know at least four programming languages. HTML (HyperText Markup Language), CSS (Cascading Style Sheets), PHP (hypertext processor) and JavaScript.
When answering this interview question, do explain what each of these languages are used for. For instance, you can mention that WordPress uses PHP code to display web pages in real-time and how updating the PHP version of your WordPress site is important to prevent cyberattacks.
110. What are the current requirements for hosts to run WordPress?
Ans. These are the basic requirements
- PHP version 7.4 or higher. The current PHP version is 8.
- MySQL version 5.7 or higher
- MariaDB version 10.3 or higher
- HTTPS support
111. Which is more secure – WordPress.org or WordPress.com?
Ans. WordPress.com can be more secure than the other one because in this environment there is no support for external plugins or themes.
112. What is a WordPress loop?
Ans. It is PHP code displaying WordPress posts.
113. What is a template tag?
Ans. Template tags are a PHP function that work inside the loop. Some few template tags are
- get_header()
- get_footer()
- get_sidebar()
- wp_login_url()
- get_calendar()
114. What are hooks in WordPress?
Ans. Hooks allow one piece of code to modify some other piece of code at specific spots. Simply put, a developer can use hook to change functionality without editing the WordPress core. There are two types of hooks
- Action
- Filter
115. How many tables are in WordPress?
Ans. There are 11 tables.
- Wp_options
- Wp_users
- Wp_links
- Wp_commentmeta
- Wp_term_relationships
- Wp_postmeta
- Wp_posts
- Wp_term_taxonomy
- Wp_usermeta
- Wp_terms
- Wp_comments
116. What is a WordPress importer?
Ans. It allows one to move data, including blogs, categories, etc., from one WordPress site to another.
Q20. What is a shortcode in WordPress?
Ans. Shortcodes are represented by square brackets. They can be used for a variety of simple to complex purposes without resorting to HTML.
117. Is it possible to host a WordPress website with Amazon Web Services?
Ans. Yes, by using Amazon Lightsail, the WordPress website can be started on a virtual server.
118. Why disable comments on WordPress, and how can you do it?
Ans. Comments can be time-taking to moderate and they create spam unless you have a security plugin installed.
To disable comments on WordPress, go to the section, Post, scroll down to the bottom and unselect the ‘Allow Comments’ option. Then hit the Update button.