Hacker News new | ask | show | jobs
by akerro 3805 days ago
I'm going to do the same. I modified a wordpress theme to fit better my needs, after an update all my changes were gone (I had a backup ofc), but it's irritating that I have to patch my theme after every update. I'm going to create a few scripts that will host my blog on gitlab and post it automatically on my server. Static pages are the future.
1 comments

This is most probably because you've done it wrong ;)

WordPress has a concept called "child [1] which shouldn't result in behavior like that.

[1] https://codex.wordpress.org/Child_Themes

Thing is, I never wrote any php code and I have no idea about CSS. My modification included only removing existing code which I didn't like.