Support » Fixing WordPress » Buggy Theme in the making


    I’m having problems with this theme I’m making. Any requests I make (clicking an individual post, clicking to go to a page, doing a search) just keeps popping up the same thing: those 3 posts. Try it and see.

    I’ve written 3 posts, and 3 pages to test my WP theme I’m working on. I remember it was working fine yesterday, but I sorta lost track on the modifications I did today and the whole thing has gotten buggy. And I can’t see anything relevant that would be causing this.

    I need help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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.

    (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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Buggy Theme in the making’ is closed to new replies.