Content. Custom Classes. We have added menus capabilities to our webpage and that is excellent. But where is the beef, or more specifically, where are the posts and the pages and everything else: where is the content. To access the content, we need to create a content-loop. On WordPress, this is also known as The…
Month: October 2022
Serial Port Windows
Use mode to display or set the serial communication ports on Windows. Display available ports with their settings, Show help on mode Example for DMX on COM4
A WordPress theme from scratch 3
Menus and Menu locations With the new theme set as active, if we open the Dashboard and expand Appearance, we notice that in comparison to other “complete” themes we are missing quite a bit. Let’s begin by activating Menus on our theme. We edit the file functions.php and include the following code: After that, our…
Hyper-V Manager for Windows 10 Home
If your would like to use Hyper-v but you are running Windows Home, you know it is not available. To activate it you can try this batch script. Notice: This file is not mine. I found it on the Iternet, analyzed it (to make sure it was safe) and ran the commands one by one…
A WordPress theme from scratch 2
Structuring the theme I would like to have different directories for my CSS and JavaScript, so let’s create them. Remember that we start from our installation directory. After doing this, we have created the directories css and js containing the (empty) files my-first-theme.css and my-first-theme.js respectively. We will insert content in these files later. For…
A WordPress theme from scratch 1
Creating the theme I know nothing about WordPress. Like many others, I am just a user. For a long time, I have wanted to understand at least the basics of WordPress themes and perhaps be able to customize those used in my blog. So I set up on a quest to learn more about it….