Recently, we announced the launch of our brand new game portal, GambrinousGames.com. I’d like to take a few minutes of your time to talk to you about how we launched our portal in record time, and how this same process can be quick and painless for you too. Gather ’round everyone and let me guide you through our journey to Game Portaldom.
What were we trying to achieve?
The game portal we wanted to build was slightly different from the usual. Rather than grabbing an RSS feed from somewhere like Kongregate and re-publishing everything they publish, we wanted to hand-pick our favourite games and just publish them. Quality over quantity; unless you’re talking about cupcakes.
Naturally we still wanted all the normal things that game portals do (categories, RSS feeds of games, ratings, comments etc). Both of us being programmers, we considered writing our own game portal software for, oh I don’t know, maybe 6 seconds? We ultimately decided against this because it would take too long and maintaining the code would be a bit of a nightmare (seriously, you have never seen my code).
We took a look at the portal software that was already out there. The two main players were Arcadem Pro and PHPAS. They both had some neat features alright, but overall the solutions seemed too messy. They did way more than we could ever want or need, and it really just seemed like way too much effort to apply our own design to either theme. In our search for simplicity and flexibility, it turned out we had been looking at the solution every time we visited our blog.
WordPress: The Unlikely Hero
WordPress is a blogging platform that I’m sure many of you are already familiar with. It powers millions of blogs all over the Internet, but we were able to take many of the features it offers and use them to build our portal.
So, what makes it great for a game portal?!
Our basic need was simply to publish games that we had hand-picked from various sources, and include a few details about the game and our own mini-review. We thought about it for a little while and realised that the process of publishing games for the portal was very similar to how we published out blog posts. The features that WordPress offered also made many aspects of managing the portal a lot simpler.
- 1. RSS Feeds: WordPress automatically creates RSS feeds of content published through it, so we had a ready-made feed where people could subscribe to see game releases right in their feed reader.
- 2. Pretty URLs: They’re nice to look at and it’s easy for users to remember them. Google is pretty fond of them too. All these factors make games on the portal a whole lot easier to find.
- 3. Scheduled Posts: This one’s a beauty. You could spend one night queueing up your planned releases for the next couple of months and then fly out to the Bahamas while WordPress sits at home in the rain, busily publishing out your games just like you told it to.
- 4. Comments: WordPress makes it very easy for your users have their say about each game that you post.
- 5. Categories & Tags: It’s super simple to add games to specific categories or tag them with specific keywords straight out of the box.
A little help from our friends
Of course, WordPress didn’t bow to our every command straight out of the box. We wanted our users to be able to rate the games that we published, and, being the Twitter nerds that we are, we wanted to announce the launch of each game via Twitter on our dedicated Gambrinous Games feed. Luckily, all of these issues were easily rectified by the vast WordPress developer community. We added the following plugins to help us along the way:
- Twitter Tools: A nice a simple plug-in that will automagically add new posts to Twitter.
- WP-PostRatings: Add ratings to each post in WordPress. It also has a nice feature to allow you to customise what information gets displayed around the star ratings.
- Akismet: This comes with WordPress and is a must for any blog that accepts comments. It will filter out all those nasty Viagra ads.
Already at this point, we had the bones of our game portal. There was one more feature in WordPress that came in handy, and that was Custom Fields. There was certain information that wasn’t easily conveyed through WordPress’ default functionality or through plug-ins. Certain things like setting the width and height of the flash game or setting thumbnails and screen-shots of each game we publish.
To get around this, we added a few custom fields to our blog posts for each piece of information that we needed, then added it to our WordPress theme where required. It really was remarkably painless.
The Science Bit
We brought everything together in a WordPress theme. We took the default Kubrick theme and modified it to fit our needs. The excellent WordPress Codex served as our guide throughout this process, required reading if you’re going to be making your own templates. The first thing you need to understand is the anatomy of a WordPress theme. All themes are stored in individual folders named after the theme. If you created a theme called “My Super Game Portal”, it would be found here:
/wp-content/themes/my-super-game-portal/
Another handy feature of WordPress themes is the functions.php file. Simply create a file called functions.php in your theme folder and add any custom functions to it. Everything you put in there will be available to your theme automagically. We have custom functions for pulling our top rated games and our newest games out of the database.
The final technical detail you really need to know before being able to customise your own WordPress theme is how to use those custom fields I mentioned earlier. One way we use the custom fields is to set the width and height of each game that we publish.
To use these fields in our template, we simply use the following code on the game page (single.php):
<?php
echo get_post_meta($post->ID, 'game_width', true);
echo get_post_meta($post->ID, 'game_height', true);
?>
That should be enough to get you started. For more information, you should check out the Theme Development article within the WordPress Codex.
Finally and in Conclusion
So, that’s how we did it. It was quick and simple, and all made possible by our new friend WordPress. What are you doing still reading? Go and use WordPress to build that game portal you’ve been talking about for the last 2 months!

Peter, thanks for the great tutorial. It’s my first time to your site but I got a ton out of this!
If you want to put the ‘gave_width’ and ‘game_height’ on more then one post you might want to use the Mass WordPress Custom Fields Manager plugin.
May I know how much space can wordpress store?
I heard about wordpress only enable 35 visitors at a time on the website, is it true?
Thanks for your comments guys.
@Ron WordPress doesn’t have any storage limit, the limit depends on how much space you have on your webserver. WordPress will keep on storing games and other files until there’s no space on the hard drive.
There are no visitor limits on WordPress either. If you get a large influx of visitors, WordPress has been known to fall over, only because it uses so many MySQL queries to build each page. This can be fixed by using WP Super Cache.
Hope that helps!
Hi again,
http://en.wordpress.com/products/
This is the premium feature i saw for wordpress.
There is a add on for unlimited users, as it say only 35 users. Anyone know whats that?
Do Wordpress display their ads on our website?
Thanks in advance
I see there’s some slight confusion here Ron. In this article, I’m talking about a private install of WordPress (which can be downloaded from WordPress.org), which is managed and hosted on your own website.
You’re referencing WordPress.com, which is a hosted solution for WordPress, and may well have all kinds of limits & premium features which I’m not familiar with to be honest.
I’d recommend hosting WordPress yourself if you plan on running a game portal with it.
Thanks for your kind reply Peter.
Now I understand the difference.
Thanks again.
:)
bravo on a great post !
Hey, Thanks for this!!
I got one setup in 30 hours haha.
Check it out here…http://www.mostwanted.com.au
I have also written a tutorial on setting this up in detail for those interested
SHUURAI, i am very interested in that tutorial!
Is it easy for WordPress to link to / run flash files that already exist in its webserver? (but not copy them or anything, just use existing files already).
Hey SomeNick,
I certainly is possible to run flash games that already exist on the webserver. The best way to do it would be to include the path to the Flash file as a custom var on each game post. You can the output it in the post like so:
echo get_post_meta($post->ID, ‘game_path’, true);
Hope that helps you.
I had already used wordpress in one of my game sites http://lemonarcade.com . The theme was designed my me. Wordpress has a whole lot of plugins and so using them makes your life a whole lot easier. Besides wordpress is very Search engine friendly IMO.
Cool, I have updated the file, people can download now.
wordpress and several other design softwares that include very nice templates are available through just host. Thats what i did to get my site running. so much better that scripting however i still prefer iweb.
Wordpress gets hacked and sql injection spammed SO easily… even if you keep it up to date.
@LilGames I’d strongly disagree with you. Like all software, bugs and security issues are discovered, but in WordPress’ case, they are always quick to release a fix.
Spam problems are a symptom of success unfortunately. If you have a GMail account, take a look at the contents of the Spam folder (1947 in the last 30 days for me). There are many, many plugins out there that eradicate over 99% of Spam (Akismet being one of the best). Take a look at the Akismet stats from out blog:
http://blog.gambrinous.com/spammyspamspam.png
If you are getting hit with SQL injection or being hacked, that’s not WordPress’ fault. The vast majority of breaches happen due to incorrect permissions being set on folders. Here’s a list of 10 tips to stay secure (and note that only one requires any modification of WordPress):
http://www.noupe.com/how-tos/wordpress-security-tips-and-hacks.html
Thanks for all the comments guys.
Peter
Arcadem pro game scripit is a great script for a game portal.But wordpress can do a wonderful game portal if don’t want to spend a cent.
This is an example of arcadem script.I’m also developing a game portal dragonballzgaming.com using wordpress.I just love wordpress for its flexibility.
There are many games scripts available for free.This game portal I developed using a free script available on the net.Just for free gaming…..
yeah man
i think wordpress hold lots of potential than other free script, because they are openly develop.
Can you share your great template? It would save me so much time instead of finding scripts and modifying all the wordpress stuff myself so I can spend my time on creating flash games instead. I could just change all the graphics (which would take only a fraction of the time compared to making the whole customization from scratch).
Thank you,
I included my email in case you feel super kind and want to email me your great theme.
spowebmaster@gmail.com
bravo on a nice post !
i used wordpress in my games website news and its really so good on seo
Thank you for that interesting article. I enjoy your blog much.
Thank you very much for this very usefull article.
very good information. thanks. :)
love the post ..thanks guys
Nice post! You’re absolutely right.
thanks i will try
Awesome collection of all the things I love to read lolz.
Thanks for sharing very good information.
Thank a lot ^^
Thanks for the inspiration. I made a lot of projects with wordpress… Imagehosters, Funsites… This ist the next one. Really thank you. :)