jgurley
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: cannot “get_archives” from a php include fileStrike that — your fix worked. Thanks very much!
Forum: Fixing WordPress
In reply to: cannot “get_archives” from a php include fileWhat if I’m not using a theme, and therefore not using wp-blog-header.php?
Forum: Fixing WordPress
In reply to: Help with searchGreat. Thanks!
Forum: Fixing WordPress
In reply to: Help with searchI have an archive.php, but it uses Shawn Grimes’s Clean Archives plug-in — in that case would it be better to use the index.php as the basis instead?
Forum: Fixing WordPress
In reply to: Help with searchOkay, sweet! One last thing: is there a guide anywhere for creating a search.php template? Anything to help me with the process?
Thanks very much for your help/patience.
Forum: Fixing WordPress
In reply to: Help with searchBlog’s set to show 1 post on the page, yes. And I use the previous_post/next_post links to get to earlier/newer posts.
Is it possible to just display a results page with a list of links to posts, instead of the actual posts? Making someone search and then presenting them with an inordinately long page of multiple posts, with no easy way of choosing which one is what they’re looking for, seems like more trouble than it’s worth. (For the reader, I mean.)
Forum: Fixing WordPress
In reply to: Help with searchMoshu, I’ve stripped the <form> out of the Default template and plugged it into my site (www.deeplyshallow.com, see the left sidebar, beneath all sidebar content) to test it.
The form works, but it doesn’t return actual results… instead, it returns the most recent entry that contains that term.
How do I modify it to return actual results instead of a full entry?
Forum: Fixing WordPress
In reply to: Help with searchI’ll give it a fresh look, thank for the help.
Forum: Fixing WordPress
In reply to: Help with searchActually, I did that. I just get lost when I’m looking at PHP that I don’t understand (I’m far from comfortable with PHP, to be honest).
Forum: Fixing WordPress
In reply to: dummy needs archive.php helpBumped into a bit of a problem. When I go to my archive page I get the following error:
Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_date <‘2005-08-23 00:51:34’ AND post_status=’publish]
SELECT DISTINCT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM WHERE post_date <‘2005-08-23 00:51:34′ AND post_status=’publish’ AND post_password=” GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESCThis is where I’m a little out of my range… any ideas where the problem might lie? (I haven’t modified the clean archives plugin at all.)
Forum: Fixing WordPress
In reply to: dummy needs archive.php helpActually, I would be very happy with that. I’ll download it and give it a whack. Thanks for the suggestion!
Forum: Fixing WordPress
In reply to: Template blanked itself! Site showing up emptyOkay, I still want to know what was happening, but the problem seems to somehow have solved itself — my index is restored, and the error is gone. Still: wtf?
JgForum: Fixing WordPress
In reply to: Template blanked itself! Site showing up empty…I mean, that error makes it sound like there’s an error in the actual template.php file. I don’t know how to fix something like that. Ideas?
Forum: Fixing WordPress
In reply to: Template blanked itself! Site showing up emptyI’ve looked for it — it’s gone.
What worries me more, though, is that I can’t edit the template in WordPress without getting that error, and without WP erasing the template. Any ideas about that?
JgForum: Fixing WordPress
In reply to: Template blanked itself! Site showing up emptyI was editing index.php in WordPress. Big mistake: there’s no backup. index.php actually doesn’t even appear on my FTP server, so I can’t snag the file.
I don’t know what happened. But I’m guessing my only option is to recreate the template. Which is fine, but WordPress erases its contents and gives me that error if I touch it at all.
Jg