Support » Fixing WordPress » archive-{posttype}.php

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you have the same problem, then the solution you linked to should work for you 😉 this problem was fixed, so can you describe what is not working for you?

    I don’t know, why its not working.
    The ‘has_archive’ is set to true.
    I have a archive.php and a archive-kattenrassen.php
    I’ trying to link to the archive-kattenrassen.php with the get_the_term_list(), or is there a other why to link to the archive-kattenrassen.php ??
    My permalink is set to the Default.

    [ Please do not bump, it’s not permitted here. ]

    Did you refresh the permalinks? E.g. Hit save on the permalinks page?

    Hi, my permalinks are on the default settings is this ok?

    I’ve never trieed ‘default’, but in any case to refresh the permalinks, you have to save the permalinks page, it does’t matter if you change anything.
    I assume you’ve read this: and (esp. the note!)

    Try giving 755 permission to .htaccess file in your http(s)docs directory and save the permalinks settings again.

    Hope this works for you.

    (To change permission open ftp, right click on file and select change permission on FileZilla.)

    Nope, it’s not working 🙁
    I’m trying to load my archive-$posttype.php page with the get_the_term_list() function is the right way to do it?
    (I’m on my single-$posttype.php page).

    Don’t really know what you are doing. The single-$posttype.php doesn’t get loaded if your archive page is loaded. (see:
    What I do to debug this kind of problem is put a die("Test"); in the archive-$posttype file and try wordpress to load that page. So if it is loaded you know for sure.
    Going to$posttype/ should propably show your archive page. If not, try to resave your permalinks, also check that browser cache is not a problem. Try a different browser, maybe in privat browsing mode to confirm it’s not a cache issue.
    If that’s not working maybe changing the permalink structure is a good idea, too.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘archive-{posttype}.php’ is closed to new replies.