WordPress – Shortcode in PHP files

So in WordPress with plugins etc. you end up using shortcode in posts to keep things simplier, an example would be if you want to display a gallery you would just use:
[galleries id="1"]
However trying to this when your outside of the “WordPress Loop” [in your theme files usually] you will hit the problem that WordPress won’t parse the shortcode. So whats the soloution? Super simple just append the following to your shortcode:
echo apply_filters('the_content', '[galleries id="1"]');
Presto, it works!

To read up more on shortcodes in WordPress click here.

Another Re-Design

I_Hate_Eggs_by_Eibo_Jeddah

Image Above ©2010 =Eibo-Jeddah

So here we are, four months into 2010 and I couldn’t stand another minute of looking at the old design! So presto its gone! We are currently using the StudioPress Theme, which has quiet a nice feel to it I think! I have also added a Services page listing Services I can provide and estimate costs..

Other than that we have a contact page up thanks to a handy plug-in Contact Form 7. And we’ve finally gotten around to enabling the “All in One SEO Pack” so hopefully now we’ll get some more “related” traffic!

Currently doing alot of work with Prestashop, but can’t say much on that at the minute, but hopefully by the end of the month I can get a few posts on Prestashop up as well. Other than that just waiting on Microsoft Dreamspark Support to get back to me for a free trial for XNA Game Studio..