Return to development overview

Note – wordpress was designed around 2003 as a blog publishing tool. Since then it has become a website builder using a page editor, and more recently a ‘full site builder’ creating pages from blocks in a block editor. The SiteWorks project is based on the ‘full site builder; version, including the Gutenberg editor to edit pages in block form, and themes based on the block theme approach. Documentation older than 2022 may refer to older editors so be less valuable to you.

WordPress is a system for editing and publishing web sites. It allows an administrator to create pages or posts, and provides an editor containing a menu of available ‘blocks’ you can put into a page. These blocks can be paragraphs, images, galleries, titles, subtitles, lists, tables etc. There are a standard set of blocks, but wordpress also employs a plugin architecture, so any developer can provide a block of their own, and tell wordpress how to show it in the list of blocks, how to show it in the editor, and how to display it on a page. We have several of these plugins for u3a groups, events contacts etc.

There are many tutorials and videos out there to help learning wordpress, and becoming a plugin developer. You are going to need background information on the PHP language, and you are also going to need to know about cascading style sheets and how an HTML page is generated from mixed script and raw HTML.

There is a siteworks training page which gives some guidance on siteworks, as well as some wordpress training resources.

For a full training on how to build plugins, this course on Udemy is good – but it costs £64. I found that every now and then is pops up on special offer at £16, so I waited for that. Most of the course is also available free as tutorials, but the adverts make it hard going.

For an introduction to plugins in written form: https://developer.wordpress.org/plugins/intro/

Specifically for learning about block themes and how to create them, this course is useful: https://fullsiteediting.com/courses/full-site-editing-for-theme-developers/

There are a number of standard coding techniques to avoid exposure to hackers, so this page is required reading: https://developer.wordpress.org/apis/security/

Here are some generally useful links

https://www.dreamhost.com/blog/what-makes-up-a-wordpress-website/

https://www.pontikis.net/blog/12-powerful-wordpress-hooks

https://make.wordpress.org/core/handbook/contribute/codebase/

https://code.tutsplus.com/articles/wordpress-initialization-hooks-benefits-and-common-mistakes–wp-34427