Wordpress Development Basics Flashcards
Q: What is WordPress development?
A: It is the process of building and customizing WordPress websites, themes, and plugins.
Q: Name two key areas of WordPress development.
A: Theme development and plugin development.
Q: What is the main programming language used in WordPress?
A: PHP.
Q: What other technologies should you know for WordPress development?
A: HTML, CSS, JavaScript, and MySQL.
Q: What is a local development environment?
A: A setup on your computer to build and test WordPress sites without affecting a live server.
Q: Name two tools to create a local WordPress environment.
A: Local by Flywheel and XAMPP.
Q: What files are needed to set up WordPress locally?
A: WordPress core files and a database.
Q: What file stores your WordPress database credentials?
A: wp-config.php.
Q: Where are WordPress themes stored?
A: In the /wp-content/themes/ directory.
Q: Where are WordPress plugins stored?
A: In the /wp-content/plugins/ directory.
Q: What is the purpose of the wp-admin folder?
A: It contains files for the WordPress admin dashboard.
Q: What is the wp-content/uploads/ directory used for?
A: It stores all uploaded media files like images and videos.
Q: What is the minimum requirement for a WordPress theme?
A: A style.css file and an index.php file.
Q: What is the purpose of the functions.php file?
A: It allows you to add custom functionality to a theme using PHP.
Q: What is the WordPress Template Hierarchy?
A: A system that determines which template file is used to display content.
Q: What is the purpose of the header.php file?
A: It contains the site’s header markup and is included at the top of each page.
Q: What is the first line required in a custom plugin file?
A: The plugin header comment:
<?php
/*
Plugin Name: My Custom Plugin
*/
Q: Where should custom plugins be stored?
A: In the /wp-content/plugins/ directory.