cool_fritz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Tags missing after ugrade to 2.8.1I also am having this problem and I do not use the db cache plugin. I have tried deactivating all plugins and changing permalinks. Is there some type of cache folder for WP? Problem occurred after upgrading to 2.8.5 on my MAMP test server, then transferring to live server. I am baffled and not sure where to look now.
John
Forum: Plugins
In reply to: Plugin: Static front pageGreat plugin, thanks. If anyone is having trouble coming up with a solution for a “blog” page with this plugin see this thread. This solution is based on using one category (with sub-categories if needed) just as the plugin author suggested. Sorry if this is obvious to all you PHP gurus but I know there are probably other WP/PHP newbies such as myself who may find it useful.
Forum: Fixing WordPress
In reply to: Displaying a category archive outside of its category page?Thank you 3stripe, this solved my problem.
Forum: Themes and Templates
In reply to: Listing Posts on Static PageOk, I finally found the solution (for me anyway) thanks to this thread.
The following code is for a Page template named “News” which pulls the 5 most recent posts for the Category named “News”.
<?php
/*
Template Name: News
*/
?><?php get_header(); ?>
<div id="content" class="narrowcolumn">
<h2 class="pagetitle">News</h2><div class="post">
<?php $my_query = new WP_Query('category_name=News&showposts=5'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<h3 id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></h3>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small><div class="entry">
<?php the_excerpt() ?>
</div><p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','','|'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
<?php endwhile; ?>
</div>
</div><?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Themes and Templates
In reply to: Listing Posts on Static PageI know what you are saying jheyer & I would love to do the same thing. Just to summarize what I am looking for (and hopefully clear up any questions):
I am using the Static Front Page plugin and I want to create a Page that mimics the appearance of the index page of a normal WP install. As per the FAQ of Semiologic I am going to use one Category to post all entries to. Instead of linking to the archive as the FAQ suggests I would prefer to have a Page that displays that same information (for the sole purpose of having the nice permalink that matches the other Pages permalinks). I want to be able to control the number of results (with full posts). I am using WP 1.5.1.2, default theme. Also, will sub-categories display?
For example I want to create a Page (based on lets say a template called page-news.php) that displays the last 5 posts in the News Category (or any subcategories of News). I want it to look the same as the other pages of the default template, displaying the full posts in the left (wide) column and all the same right (narrow) information as the rest of the site (archives, etc.). Is this possible?