Sample code for wordpress