All entries tagged wordpress.
You can subscribe to an RSS feed of this list.
Leaving Wordpress I’ve been using Wordpress for this blog since circa 2006 I believe, but as I mentioned in an earlier blog post that I was not 100% happy with using Wordpress for this blog. I have a few issues with Wordpress, none of them a major dealbreaker, but collectively enough to make me consider something else: the new Gutenberg editor set to become standard in 5.0 was in my experience, very clunky and kinda annoying the code structure of Wordpress is very deep and complex, sometimes making it difficult for me to make changes I want.
Some time ago, one of my many intrepid followers pointed out that this blog tested poorly on web page performance according to this Speed Testing Tool. Now, I’m of the opinion that for a personal blog such as this, web performance isn’t really a mission-critical sort of thing, but as a software developer who has often had to work hard to optimize the web applications we delivered to our clients, it kind of became a matter of pride :p
$pee = preg_replace( '|<p>|', "$1<p>", $pee );
This regular expression is from the Wordpress source code (formatting.php, wpautop function); I’m not sure what it does, can anyone help?
Actually I’m trying to port this function to Python…if anyone knows of an existing port already, that would be much better as I’m really bad with regex.
I’ve been busy at work so fell a bit behind with Django. Last night I worked on a WordPress importer, so that I could migrate posts from my current blog(s) into the Django-powered blog that I’m coding. I’m using BeautifulSoup to parse the WordPress export file and insert them as Django objects. Since I was running the script repeatedly, I had to figure out how to easily run it from the command line, without having to run it from inside manage.
Changed to Thematic zroytang : yung current na wordpress theme ko parang ang crowded (Anonymous) : baka it's the font... or less ugn spacing zroytang : papagalitan mo ko pag pinalitan ko e zroytang : haha (Anonymous) : haha hindi naman a (Anonymous) : sabihin ko lang na you're fickle like a girl (Anonymous) : haha zroytang : tsk! (Anonymous) : it's nice to be female.
Part 1. Part 2. Moonglove Winnower template is currently live on Roy on Magic. I made several color and formatting changes since the last update. Relatively easy due to the stylesheet. I also had to scrap the CSS hack for implementing equal height columns, it was causing problems with anchors in the URL. I went with a 1-pixel high background image instead. Currently most of the PHP logic/heavy lifting is done in sidebar.
Part 1 of this series is here.
Creating a WordPress template is harder than I thought. Luckily I’m modifying the default template instead of starting from scratch. The one I’m creating is rather simple but after spending almost 8 hours on it so far, I’m still far away from completing it. I’m guessing the more complicated layouts take more than two weeks of full-time work.
Here’s my current WIP:
Changes since the last part:
Web design has never been one of my strong points, and it’s something I’d like to improve on.
The Roy on Magic blog has been using the default WordPress Template since forever, and I’ve been trying to find a good WP Template that fits the “Magic the Gathering” theme.
Put the above points together, and I have a new personal project. Just for fun, I’ll log my progress here.
I had been planning to do this for a while: it’s my first WordPress Plugin! Over at Roy on Magic, I often have to write out decklists and such, so I wanted to have an autocard feature similar to the one used at MTGSalvation. After a quick five-minute search I couldn’t figure out how they did it, so I just wrote the plugin myself. Actual effort was around 3.5 hours, most of it struggling with PHP and Regular Expressions.
Wordpress on a stick
Wordpress host – free blog I’ve wanted to try WordPress for a while now, but not having easy access to a PHP-enabled server of my own, I haven’t had the chance. Blogsome is a new, free service that provides WordPress for blogging. I signed up, and roy.blogsome.com was still available (nothing there, don’t bother looking) Am I going to leave blogger? I don’t know, really, I’m already pretty comfortable with it already, and moving to WordPress means learning a while new templating language (I know it would take all of an hour to get it down, but still… inertia).