Thread Starter
timmw
(@timmw)
I noticed a few other people had similar problems, this is the simplest solution I can think of.
Add this code into index.php then you can use the url structure shown in my first post.
<?php
if(isset($_GET['meta_key']) && isset($_GET['meta_value']))
{
$mKey = $_GET['meta_key'];
$mVal = $_GET['meta_value'];
query_posts('cat=-3&meta_key='.$mKey.'&meta_value='.$mVal);
}
?>
Thread Starter
timmw
(@timmw)
I try to do stuff all the time and there is usually someone who had a need and already made a plugin or widget and now I just feel, don’t reinvent the wheel 😉
Yeah I know what you mean, it’s just if I make it myself I know it’s made right (or wrong :p), but at least I know how it’s made.
Thread Starter
timmw
(@timmw)
Hey thanks, the second one looks promising! I’ll test it out now and if it’s not quite right I’ll update this thread.