Master your interview with Top 100 Digital Marketing Questions and Answers 2026.
What is WordPress?
WordPress is an open-source Content Management System (CMS) built with PHP and MySQL. It powers over 40% of all websites on the internet. It was originally created as a blogging platform in 2003 but has evolved into a full-featured CMS for building any type of website.
What is the difference between WordPress.com and WordPress.org?
WordPress.org is the self-hosted, open-source version where you download the software, buy your own hosting, and have full control. WordPress.com is a hosted platform run by Automattic — easier to start but with limited customization and plugins unless you pay for higher plans.
What are the minimum requirements to run WordPress?
WordPress requires: PHP version 7.4 or higher (8.0+ recommended), MySQL version 5.7+ or MariaDB 10.3+, HTTPS support, and a web server like Apache or Nginx. About 50MB of disk space is required for core files.
What is wp-config.php?
wp-config.php is the main configuration file for WordPress. It holds critical settings like database name, database username/password, database host, authentication keys and salts, table prefix, and debug mode. It's located in the WordPress root directory.
What are WordPress roles and capabilities?
WordPress has six default user roles: Super Admin (multisite only), Administrator, Editor, Author, Contributor, and Subscriber. Each role has a set of capabilities (permissions) that control what actions that user can perform on the site.
What is the WordPress Loop?
WordPress has six default user roles: Super Admin (multisite only), Administrator, Editor, Author, Contributor, and Subscriber. Each role has a set of capabilities (permissions) that control what actions that user can perform on the site.
What is the WordPress Loop?
The WordPress Loop is the PHP code used by WordPress to display posts. It processes each post to be displayed on the current page using template tags. The basic loop checks if there are posts (if have_posts()) and then iterates through them using while(have_posts()) : the_post().
What is a WordPress Nonce?
The WordPress Loop is the PHP code used by WordPress to display posts. It processes each post to be displayed on the current page using template tags. The basic loop checks if there are posts (if have_posts()) and then iterates through them using while(have_posts()) : the_post().
What are WordPress Transients?
A nonce (number used once) is a security token used to verify the intent of requests in WordPress. They protect URLs and forms from certain types of misuse and help prevent unauthorized access. Generated using wp_nonce_field() or wp_create_nonce().
What is a WordPress theme?
A WordPress theme is a collection of template files that work together to produce a website's graphical interface. Themes reside in the /wp-content/themes/ directory and can include PHP templates, CSS stylesheets, JavaScript files, and images.
What is a child theme and why use it?
A child theme inherits the functionality of its parent theme but allows you to override templates and styles without modifying the parent. This means parent theme updates won't overwrite your customizations. Created by making a folder with a style.css that references the parent using the Template: header.
What are template hierarchy rules in WordPress?
he Template Hierarchy is the order WordPress uses to decide which template file to use for a given page. For example, for a single post it checks: single-{post-type}-{slug}.php → single-{post-type}.php → single.php → singular.php → index.php. More specific templates always take priority.
What is functions.php used for?
functions.php acts like a plugin for your theme. It's used to add or modify WordPress functionality: registering menus, enabling post thumbnails, enqueuing scripts/styles, defining custom functions, and hooking into WordPress actions and filters.
What is the difference between get_template_part() and include()?
get_template_part() is the WordPress-native way to load template partials. It looks in the child theme first, then the parent theme — making it child-theme-safe. Plain include() or require() uses direct file paths and won't respect the theme hierarchy.
What is a WordPress Customizer?
The Theme Customizer (live preview) is the interface at Appearance > Customize. Developers can add settings, controls, sections, and panels using the Customizer API ($wp_customize->add_setting() etc.) to let users adjust theme options and preview changes in real time.
What is a WordPress plugin?
A plugin is a piece of software that adds specific functionality to WordPress without modifying core files. Plugins are stored in /wp-content/plugins/. They use hooks (actions and filters) to integrate with WordPress. Common examples: WooCommerce, Yoast SEO, and Contact Form 7.
What are action hooks and filter hooks?
Action hooks let you execute custom code at specific points in WordPress execution (e.g. wp_head, init). Use add_action(). Filter hooks let you modify data before it's used or displayed (e.g. the_content). Use add_filter(). These are the foundation of the WordPress plugin API.
What is the difference between add_action() and add_filter()?
Action hooks let you execute custom code at specific points in WordPress execution (e.g. wp_head, init). Use add_action(). Filter hooks let you modify data before it's used or displayed (e.g. the_content). Use add_filter(). These are the foundation of the WordPress plugin API.
What is the difference between add_action() and add_filter()?
add_action() runs a function at a specific event — it doesn't return a value. add_filter() passes data through a function that must return the (modified) value. Both accept a hook name, callback, priority (default 10), and accepted arguments count.
What is a Database in WordPress?
WordPress stores all website data in a MySQL database.
Which Database Does WordPress Use?
MySQL and MariaDB.
What is a Backup in WordPress?
A backup is a copy of website files and database for recovery purposes.
Why Should You Update WordPress Regularly?
Security improvements
New features
Performance optimization
Bug fixes
What is SEO in WordPress?
SEO helps improve website visibility in search engines.
Name Popular SEO Plugins.
Yoast SEO
Rank Math
All in One SEO
What is a Responsive Website?
A website that adapts to different screen sizes like mobile, tablet, and desktop.
What is WooCommerce?
WooCommerce is a WordPress plugin used to create online stores.
What is Elementor?
Elementor is a drag-and-drop page builder plugin.
What is SSL?
SSL (Secure Socket Layer) encrypts data between users and websites.
What is Spam in WordPress?
Unwanted comments or submissions made by bots or malicious users.
What is Akismet?
Akismet is a plugin that filters spam comments.
What is Caching?
Caching stores website data temporarily to improve loading speed.
Name Popular Caching Plugins.
WP Rocket
W3 Total Cache
LiteSpeed Cache
What is Media Library?
Media Library stores images, videos, PDFs, and other uploaded files.
What is User Role Management?
User roles define permissions and access levels in WordPress.