• Hello,

    I have a problem with my archive page. When I click the link to the archive page I can see the overview with months, categories and so on. But when I click on a month, or a category, nothing happens, it just reloads the page. Maybe you want to have a look for yourself: https://www.trauerspielzeug.de (Archive link in the top left corner)

    I’ve created a archiv.php with the following code:

    <?php
    /*
    Template Name: Archives
    */
    get_header(); ?>
    
    <div id="container">
    	<div id="content" role="main">
    
    		<?php the_post(); ?>
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    
    		<?php get_search_form(); ?>
    
    		<h2>Archives by Month:</h2>
    		<ul>
    			<?php wp_get_archives('type=monthly'); ?>
    		</ul>
    
    		<h2>Archives by Subject:</h2>
    		<ul>
    			 <?php wp_list_categories(); ?>
    		</ul>
    
    	</div><!-- #content -->
    </div><!-- #container -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    afterwards I created a new empty page and gave it the template from archiv.php.

    What can I do?

  • The topic ‘Archiv: Post won't show’ is closed to new replies.