ajlitton
Forum Replies Created
-
Forum: Plugins
In reply to: making an index of things in blogDISCLAIMER: I’m a complete recently slightly self-taught novice. I haven’t tried this, and it may be ridiculous. If it is, I’d appreciate if somebody could point it out so that I may learn.
Could you use the “$orderby” variable? In some combination with some sort of GET?
In index.php, before the linerequire('./wp-blog-header.php');
, you could put something like:
if ($_GET[displayindex]) {
$orderby="title";
}
And then, later, before the loop you could have:
if ($_GET[displayindex]) { ?>
-
<?php foreach ($posts as $post) : start_wp(); ?>
- " rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?> from <?php the_date(); ?>
<?php endforeach; ?>
<?php } else { (and then your normal loop in here)}
Then, to show the index, you just call index.php with
index.php?displayindex=1
It wouldn’t be pretty, but it might be a start. And it assumes that your post titles are sensible and helpful. And you’d have to set it so that it displays all the entries, but I can’t remember how to do that. Anybody?Forum: Plugins
In reply to: making an index of things in blogIndexes – true indexes – are difficult, time-consuming things to produce, and basically have to be done by hand. Indexes in books are either laboriously compiled by the authors or by professional indexers.
I’m just saying it’s impossible to automate. At the very least, a human agent is needed to discern what the signifcant words and phrases are, and to specify which words are synonyms, which are headings, which are subheadings…
Although if someone could write a plugin that could do it – maybe by allowing the user to manually enter an array of “index worthy” words and phrases for their blog, and then searching for those words and compiling them together into an index-like list – that would be really cool. But I’m pretty sure that doesn’t exist. Anybody?Forum: Plugins
In reply to: Wiki plugin for WP?Sorry – mistyped HTML. Jens Alfke’s page is at https://www.mooseyard.com/Jens/.
Forum: Fixing WordPress
In reply to: No Stylesheet in Mozilla and OperaAh, an errant capital. A typing error – who’d’a thunk it? How come it worked in my browser?
Anyway, thanks. There’s nothing to see here – move along…
My God – what a train wreck in Mozilla…Forum: Fixing WordPress
In reply to: Missing StylesheetI have exactly this problem (missing stylesheet), but it’s caused by something different. When I check the CSS file on https://www.rexswain.com/cgi-bin/httpview.cgi, it returns “Content-Type:?·text/css”. Just like it’s supposed to, right? Also, other pages on my website display fine in Mozilla and Opera – CSS intact – so I’m guessing it’s not my server. It’s just WordPress. I’m using Style-Switcher, and everything looks fine in IE. The other pages don’t use @import. Is that important?
My site (still testing, not much content).
My CSS file (messy, I know – I’m experimenting!)
I don’t know anything about anything. Please help me!
Oh – using 1.2-Mingus.
Cheers,
AnthonyForum: Fixing WordPress
In reply to: Help with list_posts_of_catThank you. You are my new favourite person.
David Chait, everybody!
Anthony