Took my old site from WP to Bludit with theme and plugin

Post Reply
kbeezie
Ssr. Bludit
Posts: 18
Joined: Sun May 03, 2026 9:20 pm
Has thanked: 2 times
Been thanked: 3 times

I've neglected one of my domains for quite some years (as you can see from the content that's currently on it), and I decided that before I start updating all my content including little warnings on dangerously oudated pages that I would convert the wordpress site into a Bludit Pro one, configured on my nginx webserver.

https://kbeezie.com

First I made the theme that closely resembled what WP theme I was using before, a very monotone style blocky theme that's kind of straight to the point. This time without a side bar or any additional static pages.

To get all my content over I wrote a WP to Bludit plugin since doing so by python was causing page ordering issues, so figured it would be best to do it internally to help retain the behavior of date or position ordering. The plugin also helped strip a lot of the unnecessary tags, and classes and so forth.
SCR-20260510-udct.png
SCR-20260510-udct.png (177.68 KiB) Viewed 43 times
But I also wanted to retain the syntax highlighting I previously had on wordpress, so set up another plugin that basically allowed for using PrismJS on my site so that in my editor I can just do something like

Code: Select all

<pre class="language-nginx"><code>
#ssl_stapling on;
#ssl_stapling_verify on;
</code></pre>
and have PrismJS color it up with copy button and all, I would just mainly have to build my prefered prismjs.min.js with the languages and features I wanted and include them in the plugin folder.
SCR-20260510-udfk.png
SCR-20260510-udfk.png (136.56 KiB) Viewed 43 times
And then I was missing how none of my pages would be pagenated with <!-- pagebreak --> so I wrote another plugin as a "page breaker" so that where it detects <!-- pagebreak --> within the content it would divide them up into pages and to allow for the url to reflect that (Same style as my blog listing pagenation and tag/category). Course I had to circle around and make sure the plugin respected that the Markdown parser was turned off in the main settings, or it would start parsing the content pieces.

I used one of my ancient configuration sample guides to break it up into four pages with <!-- pagebreak -->

https://kbeezie.com/nginx-configuration-examples
https://kbeezie.com/nginx-configuration-examples/page/2
https://kbeezie.com/nginx-configuration-examples/page/3

and so on.
SCR-20260510-udhl.png
SCR-20260510-udhl.png (133.63 KiB) Viewed 43 times
What I'm hoping to do next is be able to configure the theme options in the sidebar such as accent colors, and styling. But that'll come after I go thru and actually update my old content that's salvageable and add on some new stuff.
Post Reply