While developing a theme never use any kind of fancy “nice” permalinks. Just make it first work witht the default /?p=3.
Whenever the internal links don’t work – it’s most likely a permalink issue.
Thread Starter
gotax
(@gotax)
I switched them back to their default, but I’m still getting the same problem.
Then I have no idea what you did.
For the future; If you have a working stage – always keep a backup copy of that version.
Try to start out from a more normal (=easier) theme than the default.
Thread Starter
gotax
(@gotax)
(sorry if this post looked screwed up, I forgot to substitute the tags with unicode)
I took a few days off from the theme… I got back to it and I found the culprit. The top navigation menu has a section that displays the 10 most recent posts… this is the code I used:
<?php query_posts(‘showposts=10’); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
< li >
<span class=”date”><?php the_time(‘n.j’) ?></span>
<?php the_title() ?>
< /li >
<?php endwhile; endif; ?>
And for some reason I don’t get its what was keeping the actual blog posts from displaying individually (same goes for the pages and searches and all). But I’m not sure how to fix it substitute it with something as functionnal.
I’m currently using this code:
<?php get_archives(‘postbypost’,’10’,’custom’,’ < li >’,'< /li >’); ?>
But I would like for the list to also display the date next to each post title like in the original code.
How do I go about doing that, or solving the previous code?