How to use the theme skeleton

In this tutorial you’ll learn how to create your own version of a skeleton theme. The “Skeleton-F16-Bootstrap” theme for WordPress is a boilerplate, or a place to start, if you want to create a Bootstrap theme from scratch. Or almost scratch that is. The basic files are ready. The top picture is a variant of… Continue reading How to use the theme skeleton

Learning WordPress Themes from Scratch

Here’s the challenge for the class: Create a repo on Github. Create a WordPress theme from scratch. During the six hour lesson files, such as: functions.php header.php footer.php style.css index.php was presented one by one. The students had to create their own version of a WordPress theme on Github. As far as I could see there… Continue reading Learning WordPress Themes from Scratch

Adminer – a lightweight alternative to PhpMyAdmin

PhpMyAdmin is powerfull but the GUI is messy. Adminer is a lightweight alternative. You have to download the files and place them in your folder. # sudo apt-get isntall adminer # sudo ln -s /usr/share/adminer/ adminer The first line will install the files. They are saved in /usr/share/adminer. Therefore we need a symbolic link to… Continue reading Adminer – a lightweight alternative to PhpMyAdmin

HTML Kickstart og PHP

HTML Kickstart (http://99lime.com) giver et framework til hurtig udvikling af html. Siderne kan konverteres til .php sådan: Gem din fil som minfil.php Herefter kan kode genbruges ved includes. Det kan være en god ide at lave en skitse over din side, således at du får en ide om, hvad du vil udvikle. Husk at en… Continue reading HTML Kickstart og PHP

PHP: Cookie, Array, Loop

The complete code to this article is available here. We use cookies in order to save information about or from the user input. If you compare my Firefox and Chrome browsers they will format the Microlite roleplaying web page according to random values, dates and saved input. Computergames use random values in stead of dice.… Continue reading PHP: Cookie, Array, Loop

Principles of PHP

Here is a very short introduction to the principles of PHP.  PHP is an acronym for “hypertext preprocessor”. PHP is a serverside language. We use PHP in order to prepare webpages, react to user input – and (on the third semester) to interact with databases. Many Open Source CMSs use a combination of Apache, PHP… Continue reading Principles of PHP