gnarly
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display the categories in a <select> element?Mental note: Look properly for answer before posting question…
This is the code for the category drop-down:
<form action="<?php echo $PHP_SELF ?>" method="get">
<label for="cat"><?php _e('Subjects:'); ?></label><br />
<?php dropdown_cats(1,'All Subjects','name','asc',0,1,1); ?>
<input type="submit" name="submit" value="Go!" />
</form>
This is the code for the monthly archive dropdown:
<form action="/journal/redirect.php" method="post">
<label for="arch"><?php _e('Monthly Archives:'); ?></label><br />
<select id="arch" name="arch">
<?php get_archives('','','option', 1); ?>
</select>
<input type="submit" name="submit" value="Go!" />
</form>
And this is whats in the redirect.php referenced above:
<?php
$URL=$_POST['arch'];
header ("Location: $URL");
?>
Isn’t that lovely?
Forum: Plugins
In reply to: Monthly archives dropdown listAny idea how to do with without the aid of javascript? I want to use a submit button.
Forum: Fixing WordPress
In reply to: Display the categories in a <select> element?OK, so I found a plugin at http://typedby.com/archives/2004/06/22/dropdown-plugin-with-ability-to-exclude/
However, I’d rather not use a Javascriptdrop-down. Any further ideas?
Forum: Fixing WordPress
In reply to: permalink – htaccess errorWhen I got an error 500 with .htaccess it was because mod_rewrite wasn’t installed on the server – ask your administrator if you have it.
Forum: Fixing WordPress
In reply to: Where’s my `<br />` gone?By the way, thats using WP1.2.2 (though I think it was a problem in my install of 1.2.1). I’m using the following plugins if it makes any difference:
– Block-lists anti-spam measures
– Search Hilite
– Gravatar
– Spam Karma
– Spam Stopgap