Archive for the ‘Wordpress’ Category

PHP random content on wordpress

I wanted to split test my post footer in Wordpress so I could try out two different Aweber forms. However the forms didn’t display in the way I wanted.
The code I ended up using:
$chosen = mt_rand(1,3);
switch($chosen){
case 1:
include ‘first.php’;
break;
case 2:
include ’second.php’;
break;
case 3:
include ‘third.php’;
break;
default:
echo ’something went horribly wrong’;
}
From: Random HTML snippets with PHP include?
This worked very well [...]

More »

I’m going with mypsdtohtml.com

Right, I’ve decided to redesign my blog about cycling in London. My designer has already finished a PSD drawing for an expensive fee and now after seeking out someone to convert my PSD to HTML I have gone with http://mypsdtohtml.com/ and a guy called Andres. So far the service seems good and the replies have [...]

More »

Transferring my wordpress after javascript not working

So I moved over my hosting plan from Dreamhost to Doreo and moved over the databases, files etc etc and began to notice various errors. In the admin panel I could not minimise the sidebar, or click the dropdown button, or add new tags or choose from the most used tags. Basically everything that revolved [...]

More »

Initial Setup of Wordpress – Things to Remember

I am officially in love with Wordpress 2.5! It is so much easier to use and there are so many more features that are essential when writing a good blog. Part of the fun of setting up a new blog is all the little tweaks you have to make. This article/tutorial/work of art will take [...]

More »