fatman
Forum Replies Created
-
Forum: Plugins
In reply to: need plugin to take site offline for maintenance v2.9,.2never mind I found a great plug from CSS jockey CJ Coming Soon, just what I needed
no that didn’t work. this is what needs to be added and where it needs to be added for anyone else’s future reference. Since it was such a seemingly simple mod I assumed it would be easy to get to, but no.
wordpress version 2.2.1 using blue basic theme included
modification: to have posts appear in ascending order (from first blog entry)1) go to https://www.yourdomain.com/blog/wp-content/themes/default/index.php
2) insert this line
<?php query_posts($query_string.”&order=ASC”); ?>
3) right after the first php command
<?php get_header(); ?>
and
4) before the “loop” statement
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
hope this helps save someone else at least a few hours searching this support forum.
It sets the posts to the initial one but doesn’t doesn’t set the sidebar calendar there as well. If anyone knows how to do this please advise.
FatManhere is my index.php file in my blog directory
<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
?>do i just insert it somewhere here? i am confused by the Loop references. I am using the basic classic blue template and just want users to see my blog from the first day when they go to https://www.mydomain/blog
can you tell me if I must insert the php statement somewhere else in a template? or different index.php file?
also, is that a correct php command/query?
BTW thanx for the response
FatMan