Wordpress Intro & Child Themes

What is WordPress?

WordPress is a simple and easy to use service for creating websites and web content such as blogs and eCommerce facilities.

In this case, I will be attempting to create a WordPress site with a suite of facilities which will showcase my technical ability in API usage, WordPress functionality, JQuery and other client-side techniques. The site will include:

  • Theme usage (Child themes & modification)
  • Plugins
  • Widgets
  • Custom coding
    • JQuery site enhancements
    • API usage to fetch weather forecast in 'Tom Land'
    • API usage to fetch top 10 shows from Apple. 

Themes 


What are themes?


Themes are essentially the blueprint for the layout of your site. Themes determine how the site will look, and where headers, text, content is placed. 

Themes are easy to make and alter, with thousands of WordPress themes being available on the application. Although, WordPress provides you with their own default 'Twenty Twenty 'x' ' theme for the current year, along with previous years.

child themes

When you are looking to alter the look of your site, but preserve the essence of your chosen theme then child themes are the way to go. Child themes use your chosen theme as a template for you to make minor changes to. All this requires is a bit of copy, pasting, and a single style sheet. 

To make a child theme, I started by creating a new folder within my 'themes' folder within WordPress' pre-generated folders. Normally, this folder's name is '[The theme you wish to template]-child'. In this case, 'twentytwentyone-child'.


Within this folder, we create a single style sheet containing some key information, such as the name of the template theme, and the theme name.


This allowed my new theme to be activated and modified within WordPress. The first theme seen in the selection below is my own created theme, Tom Land.



From there, by pressing the 'customise' button, this theme can be edited slightly to your liking. You can edit everything from background colour and image, to menus and widgets. 

Below is an example of me changing the background image of my site:


In the next post I will discuss WordPress plugins and widgets.

Comments

Popular posts from this blog

Creating a Reddit post

Reddit Authentication & Access tokens

Deleting a Reddit Post