dss
Forum Replies Created
-
Forum: Plugins
In reply to: super archives “page”Because the superarchives php document lives in the root of your worpress install, the tags for get_header and get_footer don’t work.
I don’t know the code to call them correctly, but you can cut and paste your header and footer, from the theme you’re using, into the superarchives.php and it should kill those errors.
Forum: Fixing WordPress
In reply to: Database restoration between versions?It worked.
Here’s what I did:
In phpmyadmin:
I dropped the tables created previously.replaced the schema from the backup.
then added the content one section at a time by opening the document, selecting the content (avoiding all commands apart from
insert intoand what follows. clicked onsqlin the topmost menu of phpmyadmin, and pasted the clipboard into the input field. clickedgo.For whatever reason this avoided sql error and permission issues and worked.
Once all the data was back in, I repaired the database, and then ran the upgrade.php
All is well.
Thanks!
Forum: Fixing WordPress
In reply to: Database restoration between versions?I’ll try upgrading the old site.
* fingers crossed *
Forum: Fixing WordPress
In reply to: Database restoration between versions?Yes, I did. I kinda thought that was the problem. The backup database is from 2.0 and the install at the new location is 2.0.4.
The new location’s database won’t accept the old data without reporting either “syntax” errors or “sql” errors.
I’m considering repointing the domain back to the old site and attemting to import via rss if all else fails, but the tables at least appear to be the same, and in the same order. I don’t really see what’s wrong.
* shrug *
Forum: Fixing WordPress
In reply to: very slow loading write and edit admin pagesyes, pingbacks and trackbacks are disabled.
Forum: Fixing WordPress
In reply to: Show only First post and rest as headlines on home page.I accomplished this by calling a second loop, as well as by using a loop counter (2 different ways.)
here’s a post with links which solved the former issue, and maybe yours too.
Forum: Fixing WordPress
In reply to: Show content of first post, display the rest differentlyOk, I sorted it out…
Here’s what I came up with:
if (have_posts()) : while (have_posts()) : the_post(); $loopcounter++;if ($loopcounter == 1) {
Do your thing
} else {
Do something else
}And it’s working just fine…
Thank you!
Forum: Fixing WordPress
In reply to: Show content of first post, display the rest differentlyWell that certainly is simple to add into the loop.
But naturally I’m a little confused…
if ($loopcounter % 2==0)I’d like it to allow a piece of the loop’s display to enter into the equasion for only the first post:
an example:
if ($loopcounter %1==0) {
Do this in the loop
}else{
Do that in the loop
}So that only the first post (post number one) shows
the_content
and the remaining 24 index entries only showthe_titleWhat am I doing wrong?
Forum: Fixing WordPress
In reply to: DIsplay Single at Category ?Well… that didn’t decode so well did it?
the
"are supposed to be quotationsHopefully you can work it out.
Forum: Fixing WordPress
In reply to: DIsplay Single at Category ?I was just working on this.
I think this code may help you:
<? // the first loop ?>
<?php if (have_posts()) : ?>
<?php query_posts('cat=4&showposts=1');
while (have_posts()) : the_post(); ?><div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="entry">
<?php the_excerpt('Read More &raquo;'); ?>
</div>
</div><?php endwhile; ?>
<? // End the first loop ?><? // The second loop ?>
<?php rewind_posts(); ?>
<?php query_posts('cat=1&showposts=1');
while (have_posts()) : the_post(); ?><div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="entry">
<?php the_excerpt('Read More &raquo;'); ?>
</div>
</div><?php endwhile; ?>
<? // End the second loop ?>
Hope this helps.
Forum: Fixing WordPress
In reply to: htaccess and yahoohunh…
thank you!
Forum: Fixing WordPress
In reply to: slashes in commentsGot it, the tune up plugin works great!
Thanks.Forum: Fixing WordPress
In reply to: slashes in commentsAhhh…
I see a little more clearly now.
When I edit a comment, the slashes are added. Not when posting.
What’s happening? How can I fix this?
Forum: Themes and Templates
In reply to: New Theme “unreflected” (possibly) & commentsNice shelf!
Forum: Themes and Templates
In reply to: No Web2.0 WP theme?!Here’s a handy-dandy how-to guide for your “web 2.0” pleasure
enjoy!