• When I click on a category, it displays an archive copy of all the posts. How do I stop that so when someone clicks on a category, it shows the full post.
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Sounds like your archive.php is using <?php the_excerpt(); ?>. Change that to <?php the_content(); ?> to show the entire posts.

    Thread Starter jicolacom

    (@jicolacom)

    I just changed this line in the archive.php file from
    <div class=”rsummary”><?php the_excerpt(); ?></div>
    to
    <div class=”rsummary”><?php the_content(); ?></div>

    and it wiped my database out and I didnt have a backup.
    Thanks for that 🙁

    I have to second iridiax. Changing from excerpt to content would NOT wipe out your database.

    Thread Starter jicolacom

    (@jicolacom)

    Well it did. I clicked refresh and all my posts, categories, pages where gone to what it is like when you first install wordpress.

    I did it again (first making a backup) and it didnt wipe it out. Maybe it was something else?

    Back to the topic, how do I not get it to archive posts? Every category I click on it says “Achieve of … then the category title. Why?

    I clicked refresh and all my posts, categories, pages where gone

    I bet if you changed design to default theme, they would all still be there. When you say database gone, it means all tables in mysql have all be dropped.

    Every category I click on it says “Achieve of … then the category title. Why?

    It says ” Archive of [category title] ” because of code in template files in your category.php/archive.php/index.php – depends on your WordPress theme.

    and it wiped my database out and I didnt have a backup.
    Thanks for that 🙁

    #1. As you’ve already been told, changing the excerpt tag to content can’t wipe out your database.

    #2. Why DIDN’T you have a backup? You should ALWAYS have a backup.

    #3. jicola.com. Says you have valid XHTML but you do not. You have 74 errors and 39 warnings.

    #4. Your blog has 16 errors. Fix those and it might help whatever problems you’re having.

    how do I not get it to archive posts?

    What do you mean? If you write posts, they’re going to be archived.

    Every category I click on it says “Achieve of … then the category title. Why?

    Because as mercime said, one of your files, most likely archive.php, tells it to. For instance my archive.php has:

    <p>Archive for the category "<?php single_cat_title(); ?></p>

    If I didn’t want it to show that at the top of the page when I click a category, I’d delete that line.

    Thread Starter jicolacom

    (@jicolacom)

    Hi, Thanks for your replies
    The Database:
    The tables were still their, but all the posts and categories were removed.

    The Backup:
    I am currently combining multiple blogs together so I had backups, but not all as one.

    Archive:
    Ok, so it says archive due to the template? I don’t know much on how wordpress works. So to fix it, all you have to do is change the template.

    Jicola.com Valid XHTML
    Most of those errors have occurred due to the socialist plugin or other plugins. Saying my site is valid came with the template.

    Also, you looked at my old blog and not the one I am currently working on. Just add a ‘s’ to blog

    I agree with this user, I just installed WordPress, when I click on a category, the page opens saying ‘Archive for…..’
    Why is that? I was not clicking on archives, I was only clicking on a category, is this a bug? if so, how do I fix it?

    jicola.com
    Member
    Posted 5 months ago #
    When I click on a category, it displays an archive copy of all the posts. How do I stop that so when someone clicks on a category, it shows the full post.
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘When I click on a Category, all posts are archived – How to stop it’ is closed to new replies.