Tag Archives: wordpress

Including Magento blocks in a WordPress theme

Including Magento blocks in a WordPress theme is straight forward, however, the internationalisation feature of both systems gets in the way. An example

File 3 would throw: Fatal error: Read More »

Zend, Magento and WordPress – working together

I recently wanted to integrate WordPress, Magento and a bespoke Zend application to work together. For the main part, this was easy. I put the Magento installation into a seperate Read More »

Using Open Graph Protocol in WordPress for Social Integration (Facebook)

What is the Open Graph protocol The Open Graph protocol enables integrations of your web pages into the social graph. It is promenantly used by the Facebook Platform. Whilst the Read More »

Using custom taxonomy when getting posts with WordPress

Using custom taxonomy in custom post types means that you can add categories, or tags to your custom posts. This can be achieved with code like the following – added Read More »

Sorting order using a custom field in WordPress

I’ve been working recently on the portfolio section of this blog. It uses a custom post type I created that I’ve got installed as a plugin. One thing that always Read More »

Getting a list of blog posts in WordPress

Quite often recently when building WordPress themes for smaller sites (ones that have a brochure feel, but have a blog section), the design has included an area on the frontpage, Read More »

Another take on feed caching with WordPress

Since version 2.8, WordPress has included the SimplePie class at it’s core. For a while, SimplePie wasn’t being maintained by the developer, but the WordPress team took over and kept Read More »

Using shortcodes in a template file in WordPress

I’m using Contact Form 7 on a website I’m building. Currently, Contact Form 7 uses shortcodes, meaning you can drop forms into posts. Something like

You can’t use shortcodes Read More »

Controlling layout with Featured Image sizes in WordPress

Recently, I was working with a WordPress theme that includes a “featured image” (added recently to WordPress). Instead of just displaying it on the frontend, I wanted to know how Read More »

NoFollow links in comments within WordPress

I’ve recently added comments back into my blog. I know that Askimet will do the majority of the work in protecting me from SPAM, but I wanted to make sure Read More »

Only display add a comment if the post is recent in WordPress

I’ve always got quite a lot of comment spam on the blog, and this is mostly for older posts that I assume are already dead and wouldn’t be commented on. Read More »

How to get a Twitter feed into your WordPress theme

Since Twitter changed things, you’re probably better off looking at A WordPress Twitter stream, without the RSS…     WordPress comes with a version of Magpie RSS as part of Read More »