eiriks
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show one post by category on the index pageI′m trying to use this code
<?php query_posts('cat=4&showposts=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php if ( in_category(4) ) { ?> // make it show only posts from the category nr. 1
<?php the_title(); ?>
<?php the_excerpt() ?>
<?php } else {
}; ?>
<?php endwhile; ?>
to display only one post pr category by using a template pr category. The result I’m hoping for is that my front page will display links to pages that only show the latest in the different categories.This code ClaudiaM posted above works, but I want to display more that just the title and the_excerpt. I want the page to look just like a full post view. I copied the code from the single.php file, and it works. kinda. The comments dosn’t show. The <?php comments_template(); ?> doesn’t do anything. How come?
Forum: Fixing WordPress
In reply to: Blank wp-adminI’m sill haveing trouble with blank WP-pages. I’ve checked the SQL tables, and all seems fine. I’ve tryed to add a new folder, uploading a fresh copy of wp (2.0.3) and the config.php file. Sill blank wp-pages (and the theme chosen in the first install).
As I can’t accsess the controlpanel aka dashboard (wp-pages), I can’t disable the plugins.
It seems to met hat blank wp-pages is a returning issue, but I can’t fint the thread that solves this problem.
https://www.stavelin.com/blog <- the front page works, but functionality stops at commenting. /wp-admin does not load at all. (‘wiev source’ turns out completly blank)
Hope to hear from you.
Forum: Fixing WordPress
In reply to: wp-admin is totally blankI’m haveing the same problem. Where did this end? Did you give up, and are not up again?
I’m getting a bit frustrated my self. Seems that others have the same problem (blank wp-admin pages), but I can’t find out either what’s wrong, or what to do to solve it..
Help would definitly be apreacheated ??