Choose Your Theme
Warren Shea

Archive for the ‘Site Updates’ Category

WordPress 3.0

Tuesday, June 29th, 2010 at 3:24 pm

Upgraded to WordPress 3.0!

The changes I made to the WordPress code, that took 2 nights to do, only accumulated to 8 files being modified, maybe a total of 40-50 lines of code changed. Took like, 30 minutes to redo the changes into WordPress 3.0….including using a Code Comparison program comparing default WordPress 2.9.2 and my current code to find the changes I had made.

About 50% of the changes are simply formatting/view source changes…which going forward, I should probably just ignore…not really worth the time. But my OCD has issues with that….

The other 50% of the changes include customizing how widgets are displayed as well as modifying the way WordPress displays content with their stupid <p> tags. I feel I *have* to do those changes…the way they’re coded is crappy. They don’t have <ul>s and </ul>s around their <li>s…definitely not XHTML valid! Anyways, I thought the transition to WordPress 3.0 would be difficult considering the 2 nights of changes I made…turns out, it wasn’t.

I’m kinda disappointed with WordPress 3.0….well, there are tons of cool new features but not for a web developer such as myself who’s already integrated WordPress into his site. They want WordPress to build a site for you…great for people without skill. Wasted on people with skill. I mean, I GET that it’s awesome for almost everyone but not for me…I’d rather make headers, menus, pages from scratch and have total control than be restricted to WordPress themes and constraints. That’s just me of course…

/next upgrade of wordpress will be even easier!

Site updates + WordPress

Thursday, June 17th, 2010 at 11:28 pm

I’ve spent the last couple of nights formatting my code so that if you view source (go on, do it!), it’s DTD XHTML 1.0 Strict as well as formatted (space) precisely to my standards. It sounds easy right? if things don’t align up, press spacebar in the code a couple time until it aligns it. But…it’s actually not that easy because the blog portion as well as the RSS is generated by WordPress and doesn’t care about the formatting at all. What does that mean? Going deep into the WordPress code and figuring it out. Well, figuring it out enough to change it. It’s purely cosmetic but in diving into the code, I was able to remove some “additions” that I felt were in question.

1. WordPress, by default, wraps everything in <p> tags…which I hate. Paragraph tags add extra space, unless you change the standard tag’s CSS. But for someone who likes full control (and who doesn’t have it), these tags suck. I’m much more accustomed to using <br />. Controlling exactly how to space content. Anyways, WordPress adds paragraph tags around everything so I had to replace that with the appropriate amount of <br />s.

2. WordPress also strips <br />s. Which sucks because just say I wanted to do something like this
FAKE SPOILER ALERT

Joking!
I couldn’t! It wouldn’t allow those spaces, it would look like this:
FAKE SPOILER ALERT

Joking!
Despite how many <br />s I threw between the text. Ridiculous eh? Anyways…I had to go into the code and fix that.

3. WordPress also, by default, replaces three consecutive periods with … so that … = …
The problem is that someone like me, who chooses a # mod 3 != 0 will result in 4 dots becoming …. or 5 becoming …..
Hideous I say! I don’t quite understand the purpose of replacing the periods…but yeah, that had to go. I was changing my … ‘s so that they would mod 3 == 0. But it was annoying.
I couldn’t write things like “uh……………..” without having to post and go back and edit/remove the dots. Because let’s face it, with OCD, this: …. and ….. was unacceptable!

4. WordPress keeps widgets together. So the RSS Feed that I had…it was all grouped into ONE section before. I had to go into the code…find out how the RSS was being written and throw in some if statements to display other headers. The result is on the right (notice the RSS feeds are now sectioned off into groups rather than in one “RSS” Category) ——->

5. I also changed the standard WordPress UI. In the image below, the left side is the original WordPress UI. If I had say, 10 RSS feeds, the CMS wouldn’t show any descriptive titles. If I wanted to edit a particular RSS, I would have to play the counting game or the “click edit and trial and error” game. Ridiculous! I changed the WordPress UI to show at least some form of descriptive title…So if I wanted to edit a particular RSS feed’s information, say #10, I can click on the one I want and not have to guess or look at the Edit’s link. Also, I was able to throw my particular headers into the WordPress UI as well! The WordPress UI, thanks to my tinkering, now mimics my site exactly.

Site Updates

Wednesday, June 9th, 2010 at 11:43 pm

1. I modified the Gallery page a bit. I didn’t really like how the icons were just…placed, without any description of what album you were clicking on. I’ve modified it a bit to include some album information. I also categorized the albums/galleries….there’s not much point to the right hand column anymore…but I’m not sure what else to put there.

2. If you look at the navigation, you’ll see the Portfolio section is no longer Portfolio. That’s right, the final section to my site is complete: Portfolio.

3. I want to start finishing off that Language Reference section…as well as finalizing and reviewing everything and adding a few more pieces of information here and there. Also, I want to start working on some more themes…Naruto, Professional 1, Professional 2.

4. I’m going to try to do my new layouts as well as start learning jQuery more and…of course, ASP.NET. Really, I need something to build with my .NET knowledge, I’m having trouble thinking of something worthy of the language. This site for example is perfect for PHP…and while I could have used ASP.NET, I doubt I’d be able to use the controls, AJAX, database, etc. components very well. Everything on this site is fairly simple, there’s nothing I really need high level coding for.

Update: 12:49 AM
5. Converted my resume to HTML

Site Updates…sorta

Saturday, May 8th, 2010 at 12:39 pm

I realized I had completely misused the “Categories” section and used it like tags/labels…and didn’t use tags at all. I’ve gone through all my posts -_-; and rectified the issue. Ew. Rectified is an ugly word. The meaning is nice but it sounds like rectum. That’s an ugly ass word. Pun intended *ba dum dum ching* ….this is you -_-;

I like my categories a lot more now, they make a lot more sense. I’ve also included a new category, EPIC RANTS…these are my favorite posts, the ones I’ve had lingering in my head for years…the ones that always had a beginning, middle, and end, even a few years ago. They’re supposed to make you think differently about something…Sadly, I thought I had more of them…like, 10. Not 5 :( I’m disappointed…

The site progress has been going well, the only section not completed right now is Portfolio….that will take some time, I’m still trying to figure out how I want to do the layout. I’m realizing how difficult some of these pages are if I change the layout to my Naruto layout (effectively making the main space about 1/5 smaller in width, thus messing with my design). BTW. My Naruto layout has NOT been started…it’s really hard :( this one is way more artsy than my others….and it’s difficult getting the right feel for Naruto…there’s no site out there that’s designed in a Naruto-ish way…the way I want to design my site. If you have any, let me know so I can steal borrow some ideas.

Also: Regarding my last post: I have absolutely no room in my condo for another Manga series. What was I thinking. Though I did decide to get Prince of Tennis if I start another one…yes, that shall be my next series. I will probably start getting it…and figure out the space thing after. I’m sure it’ll work out. O_o
And I plan to read School Rumble and 20th Century Boys in the near future. *goes and puts that on his “To Read” list*. I’ll probably save 20th Century Boys for when I feel like something dark again.

I also got my Kirby pillow in the mail this week :) Sleeping with a star pillow is kinda awkward tho…its corners are always in my face. I forgive Kirby tho cuz he’s so cute!

Gallery Updated!

Sunday, May 2nd, 2010 at 2:10 am

I updated my gallery section to include my digital art, sketches, and pencil work. It’s ridiculously sad and pathetic how LITTLE digital art I did for the last decade. I doodled and sketched a lot but looking at my digital art, I guess I only got the urge to do digital art maybe once a year -_-;

I know I was in school from like, 2001-2006….I guess that sort of explains that gap…but still…