Basic WordPress Q&A
1. What is WordPress?
WordPress is an open-source Content Management System (CMS) written in PHP and using MySQL/MariaDB database, used to build websites and blogs.
2. What are the advantages of WordPress?
User-friendly, flexible, SEO-friendly, open-source, large plugin/theme library, strong community support.
3. Difference between WordPress.com and WordPress.org?
| WordPress.com/ | WordPress.org |
| Hosted solution | Self-hosted |
| Limited control | Full control |
| Cannot upload plugins on free plan | Can upload any plugin |
| No custom hosting | Choose your own hosting |
4. What is a WordPress theme?
A WordPress theme controls the design, appearance, and layout of a website.
5. What is a plugin?
A plugin adds additional functionality without modifying core WordPress files.
6. What is WordPress Dashboard?
Admin backend panel used to manage content, pages, themes, plugins, settings.
7. Difference between posts and pages?
Posts = dynamic blog content; Pages = static content (About, Contact).
8. What is a custom menu?
Custom navigation that allows users to manage links from Appearance → Menus.
9. What is a widget?
A widget is a block placed in sidebar/footer (Search, Categories, Text, etc.).
10. What is a permalink?
SEO-friendly permanent URL of posts and pages.
11. What is a slug?
URL-friendly version of a post/page title.
12. What is Gutenberg?
Block-based editor introduced in WordPress 5.0.
13. What is Classic Editor?
Plugin that enables old WordPress editor.
14. What are categories and tags?
Categories—broad grouping
Tags—keywords / micro-classification
15. What is a static front page?
Homepage showing fixed content instead of latest posts.
16. What is wp-content folder?
Stores themes, plugins, and uploads.
17. What is the WordPress loop?
PHP code that displays content on the front end.
18. What are shortcodes?
Small pieces of code inside posts like:
Error: Contact form not found.
19. What is a child theme?
Theme that inherits the parent theme features; used to customize without losing updates.
20. What is multisite in WordPress?
Feature that allows running multiple sites under one WordPress installation.
Intermediate WordPress Q&A
21. What are hooks?
Hooks let developers modify WordPress behavior without editing core files.
22. What are action hooks?
Run custom code at certain system events.
Example:
add_action(‘wp_head’,’functionName’);
23. What are filter hooks?
Modify data before output.
add_filter(‘the_content’,’change_content’);
24. What is WP_Query?
Class used to create custom queries for posts.
25. What is Custom Post Type (CPT)?
Custom content type like Portfolio, Products, Testimonial.
register_post_type();
26. What is taxonomy?
Categorization system—categories, tags, custom taxonomies.
27. What are custom fields?
Also known as post meta—store additional information.
28. What is .htaccess file?
Server configuration file controlling permalink rules.
29. What is wp-config.php?
Contains database configuration and security keys.
30. How to enable debug mode?
define(‘WP_DEBUG’, true);
31. What is an API in WordPress?
REST API lets apps communicate using JSON.
32. What is Ajax in WordPress?
Used for asynchronous request handling.
33. What is Nonce?
Security token to prevent CSRF attacks.
34. What are transients?
Temporary cached data stored in the database.
35. How do you enqueue scripts & styles?
wp_enqueue_script();
wp_enqueue_style();
36. What is template hierarchy?
Priority order that WordPress uses to display templates.
37. What are template tags?
Functions that retrieve or display content.
38. What is get_template_part()?
Include reusable templates like header / footer.
39. What is difference between GET and POST methods?
GET in URL, POST hidden & secure.
40. What is staging site?
Copy of live site for testing changes safely.
Advanced WordPress Q&A
41. How to secure WordPress site?
- Strong passwords
- Limit login attempts
- Disable file editing
- Use security plugin
- Use SSL
42. What are recommended file permissions?
- Folders: 755
- Files: 644
43. How to disable theme/plugin editor?
define(‘DISALLOW_FILE_EDIT’, true);
44. What is CDN?
Content Delivery Network for faster performance worldwide.
45. What is caching?
Temporary storage to load pages faster.
46. How to speed up WordPress?
Caching, CDN, optimized images, minify CSS/JS, good hosting.
47. What is WooCommerce?
E-commerce plugin to create online store.
48. What is Elementor?
Page builder for designing custom layouts visually.
49. What is a product attribute in WooCommerce?
Additional product info like Size, Color.
50. How to migrate website manually?
- Export DB
- Move wp-content
- Update wp-config & URLs
- Run search-replace
51–100 (Key Questions & Short Answers Summary)
- What is nonce? → Security token
- What is cron? → Scheduled tasks
- What causes white screen of death? → Plugin/theme conflict
- How to fix database connection error? → Check wp-config.php credentials
- What is internal server error? → .htaccess or memory limit
- How to increase memory limit? define(‘WP_MEMORY_LIMIT’, ‘256M’);
- What is wp_head()? → Loads scripts in header
- What is wp_footer()? → Loads scripts before closing body
- What is localization (L10n)? → Translating a theme/plugin
- What is internationalization (i18n)? → Preparing code for translation
- What is wp_mail()? → Sends emails
- How to hide WordPress version? → Remove meta generator
- What is auto update? → Automatic updates for security
- What is brute-force attack? → Login hacking attempt
- What is malware? → Malicious code
- How create coupon in WooCommerce? → Marketing → Coupons
- What is product inventory? → Stock settings
- What is SEO? → Search Engine Optimization
- What is sitemap? → Indexing file for Google
- What is robots.txt? → Instructions for crawlers
- What is slug? → User-friendly URL text
- What is multisite? → Network of sites
- What is database prefix? → wp_
- How to backup DB? → phpMyAdmin export
- What is REST route? → Custom API URL
- What is wp_remote_get()? → Remote API request
- How to change login URL? → Use plugin or rewrite rules
- What is save_post hook? → Runs on post save
- What is revision? → Post history backup
- What is media library? → File storage
- How to disable XML-RPC? → Plugin or .htaccess
- What is lazy loading? → Loads images on scroll
- What is favicon? → Browser tab icon
- What is widget area? → Widget location
- What is short pixel? → Image optimization tool
- What is SSL? → Encryption certificate
- What is breadcrumb? → Navigation path
- What is WordFence? → Security plugin
- What is LiteSpeed Cache? → Performance plugin
- What is block theme? → Full-site editing theme
- What is WP-CLI? → Command line tool
- What is search-replace? → Replace URLs in DB
- What is staging vs production? → Testing vs live site
- How to import demo data? → One-click importer
- What is backup plugin? → UpdraftPlus, Duplicator
- What is 404 error? → Page not found
- How to redirect 404? → Redirection plugin
- What is analytics? → Site traffic insight
- What is Google Search Console? → SEO monitoring
100.Before launching checklist? → SSL, Backup, SEO, Speed test.
