Not a difficult task all you need to do is add the following parameter where you register your post type.
You can easily add google analytics data in your custom app by using the ga-ez-dash library This library is super easy to use and quick to install. I am not going to go into much details and the code is quite self explanatory. All applications that use the Google Analytics API must be registered through […]
If you are using standard wordpress login form inside of your theme and you are battling with the redirect when a user enters the incorrect details then this code will help. Normally the form has a “redirect_to” hidden field.. this however works only when the correct details are entered. When the incorrect details are entered […]
A simple WOW will do. Beautifull!
With the addition of the Menu’s feature in wordpress it allowed us to use pages for a little more than its obvious purpose.. A Simple example for this is to create a front end slideshow without having to add a special plugin or tons of code that make everything seem super complicated. All you would […]
I have tried various methods to remove the admin bar from the front-end that was introduced in WordPress 3.1. This is by far the cleanest method. You can add this via a plugin or directly into the theme functions.php
In this Issue of the dev box we take a look at the tech fails of hollywood. We see how to use shortcodes in WordPress theme files. There are some wordpress hacks and snippets to fight spam. Tutorial on optimizing for retina displays and also some inspiration on the use of textures. Enjoy! Hollywood Tech […]
Recently had a case where Tweet Blender didnt work correctly alongside WP Super Cache. Tweet Blender showed the Tweets that was cached along with the page so in effect 3 weeks later you still have tweets from 3 weeks back showing. The workaround was quite easy, All you have to do is refresh the tweet […]
One of the most handy functions in programming is the ability to display random records. Luckily in SQL this is very easy. This is usefull when you want to display random products, random images, etc.. So in your query you just add “ORDER BY RAND()” So the Query will look like: easy 🙂