Excursions with C++

Learning and serendipity with and about C++

Notes on using WordPress

This web-site is my first public web-site, and following the advice of my web-hotel, I have based it on WordPress.

This post is about my experiences with this, and it may be updated from time to time with new insights.

Installation was a very easy one-click setup, and it included the current default theme Twenty Twenty-Four, which I chose to work with, to get to my goal as soon as possible: Being able to blog, posting articles on my programming experiences.

This theme can target different goals, among them mine, so the initial work consisted of choosing the main page template and removing all those elements, I didn’t want.

I found it hard to understand the principles for this theme, some of which perhaps are principles for WordPress as a whole. It was hard to figure out, when was I editing a template, used several places, and when was I working directly on what would be displayed. I miss a source for an overview of this basic structure – for the theme and for WP in general.

It took me a lot of time and tries to get it right.

So if asked if I would recommend WP as the basis for a web-site, I cannot say a clear “yes”, perhaps I can say “maybe”, but since I haven’t used any other frameworks, I don’t think I can say “no”.

Writing about programs, I need to display code.

“Code Block Pro” seemed to work OK, but scrambled my code after a few saves, showing HTML mixed with code that was not formatted to be readable.

Currently I am using “Highlighting Code Block” by Loos Inc. It shows the code nicely, but when I am in edit mode, it doesn’t display the line numbers, so to make references to lines in the text, I have to switch in and out of edit mode.

If you have any comments, advice, or recommendations to my way of using WordPress and plug-ins, please leave a comment to this.

As always – happy programming!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *