divrom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting Categories InlineDon’t worry, it’s sorted. I noticed that the problems were caused by the linked items so I added the following to the CSS:
#commentlist ul , #commentlist li {
display: inline;
margin: 0;
padding: 0;
}
#comment ul, #comment li {
display: inline;
margin: 0;
padding: 0;
}
#commentlist ul a, #commentlist li a{
display: inline;
margin: 0;
padding: 0;
}
#comment ul a, #comment li a{
display: inline;
margin: 0;
padding: 0;
}
Not the best or neatest method, I’m sure, but it worked! :o)Forum: Requests and Feedback
In reply to: WordPress Blog vs. WordPress CMSI used WP for a friends church website. He knows zero HTML, but can use word. So, I jigged with the admin page so that it would be familiar and – hey presto! – he has a CMS that he can use to power his whole website.
WP is great!Forum: Fixing WordPress
In reply to: Desperatly need help only showing one categoryEither have a sticky post at the top of your home page, or try something like this at the top of index.php:
<?php
/* Don’t remove these lines. */
$blog = 1;
$cat= 1;
require(‘./wp-blog-header.php’);
$posts_per_page = 5;
// Uncomment the next line if you want to track blog updates from weblogs.com
//include_once(ABSPATH.WPINC.’/links-update-xml.php’);
?>
(Obviously change the cat number to whichever category you want to show.)
I set up a site for a friend like this. I had nine pages entitled things like resources.php, about.php etc. Then at the top of each page I changed the cat number to match that the resource. Then the menu bar simply pointed directly to the right php page.
Is that the kind of thing you’re after?Forum: Fixing WordPress
In reply to: Comments have gone loopy!Yeah, I’m worried about those problems, allusion.
The line I added was taken from a WuhWuh version of wp-comments.php (is that the same as CVS?). I am running 1.2 as you said. But I tried everything else – bar reinstalling everything – and this is the only thing that worked.Forum: Fixing WordPress
In reply to: Comments have gone loopy!Thanks for that Schlosna. I’d got it sorted just before I saw your post.
In the end I had to edit wp-comments.php and change line 20:
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_post_ID = ‘$id’ AND comment_approved = ‘1’ ORDER BY comment_date”);
to
$comments = $wpdb->get_results(“SELECT * FROM $tablecomments WHERE comment_post_ID = ‘$id’ AND comment_approved = ‘1’ ORDER BY comment_date”);
Works fine now, ‘cept for the numbers all being the same (so I just changed it to a UL).Forum: Plugins
In reply to: Just without the howto..John, you put it, as it is, where you want the recent posts to appear.
Forum: Fixing WordPress
In reply to: Comments have gone loopy!Any other ideas?
We had done most of the testing and were on the verge of making this our main site. The only thing left, after customising it to work like a mini-CMS, was a bit of tweaking.
So I’m extremely reluctant to re-install!Forum: Fixing WordPress
In reply to: Comments have gone loopy!Here’s some added info:
When I go into admin and go to EDIT –> comments, I get this message..Database error: [You have an error in your SQL syntax near ‘ORDER BY comment_date DESC LIMIT 20’ at line 1]
SELECT * FROM ORDER BY comment_date DESC LIMIT 20
No comments found.The silly thing is that I know there are comments and they even show up in the recent comments list on the right.
Forum: Fixing WordPress
In reply to: Comments have gone loopy!No, Amit, where’s the challenge in that?! ;o) I didn’t backup anything ‘cos it didn’t enter my head that there would be a problem.
2fargon, tried that – no change.Forum: Themes and Templates
In reply to: Comment Number LinksIn that case, would it have to be a Java script?
Forum: Themes and Templates
In reply to: Comment Number LinksOff the to of my head, I imagine that you can go into wp-comments.php and find the call for the comment number and that a link around that.
But then, last time I tried to edit wp-comments I really messed up! ;o)Forum: Fixing WordPress
In reply to: Publishing to multiple WordPress installsNot sure exactly what you’re thinking of, but could you try something with RSS feeds?
Forum: Fixing WordPress
In reply to: VERY Newbie questionYou’ll love it! I’m planning to use it when our site is (www.churchexperiment.com) is fully up and running.
Forum: Fixing WordPress
In reply to: VERY Newbie questionOFF-TOPIC:
Barry, given your obvious love for the word of the Lord, have you seen the scripturiser plug-in? It’s pretty funky. Just check out the wiki.Forum: Fixing WordPress
In reply to: Summary of last ‘x’ posts for each category?Yep, it’s one of Kitten’s:
https://mookitty.co.uk/devblog/category/show-categories/
The C-ex site is mine, btw. Let me know if you want anymore help. Or, just look here for Justin’s version of it:
https://www.radicalcongruency.com/20040531-tutorial-using-wordpress-to-power-your-non-blog-website
I use a combination of these, btw. I also have bios and the recent updates in the right-hand column are a cat as well.