Tag Archives: php

How to Display Matched.co.uk Adverts on WordPress Blogs

matched.co.uk php code
photo by totalAldo

If you’re afraid of PHP code or don’t know what a widget is, run away. This is really a follow on post from my introduction to matched.co.uk. The problem with matched.co.uk is you have to submit absolute web urls. This is fine if you are going to drop the ad code into the main body of the page, say at the bottom of your about page. But this may disrupt the appearance of your blog. Ideally you would like to put adverts in your sidebar, but the sidebar is displayed the same on every page/post. This is where a little PHP code saves the day.

What you will need: