2. Wordpress Overview
Wordpress is an open-source and free Web publishing application, content management
system (CMS) and blogging tool built by a community of developers and contributors.
WordPress allows users to build dynamic websites and blogs that may be updated,
customized and managed from its back-end CMS and integrated application and
components.
3. Wordpress Theme
1. A WordPress theme is a set of files that determine the look and feel of your WordPress-
powered website.
2. Themes include information about the general layout of the site, and other content such
as graphics, header, footer and logo.
3. Select your theme at ThemeForest.net or create your own
5. Use Plugins to Add Functionalities
1. Plugin is a collection of code files that adds one or more features to your web site.
2. WordPress has a database of over 26,000 plugin
6. What is Hooks ?
A Hook is a generic term in WordPress that refers to places where you can add your own
code or change what WordPress is doing or outputting by default.
Action : triggered at specific time when WordPress is running and lets you take an action.
Filter : it is sent to the database or the browser
Syntax => add_action ( 'hook_name', 'your_function_name', [priority], [accepted_args] );
add_filter ( 'hook_name', 'your_filter', [priority], [accepted_args] );
7. Theme Development
WordPress Themes typically consist of three main types of files
The stylesheet called style.css, which controls the presentation .
WordPress template files which control the way the site pages generate the
information from your WordPress database to be displayed on the site.
The optional functions file (functions.php) as part of the WordPress Theme
files.
8. Child Theme
There are a few reasons why you would want to use a child theme:
If you modify a theme directly and it is updated, then your modifications may be lost. By
using a child theme you will ensure that your modifications are preserved.
Using a child theme can speed up development time.
Using a child theme is a great way to learn about WordPress theme development.