Forum Replies Created

Viewing 1 replies (of 1 total)
  • mhonolog

    (@mhonolog)

    Hi, tried your solution, its not working for me. Would you please help me check what I need to fix.

    Here’s my archive.php

    <?php
    	global $SMTheme;
    
    	get_header();
    ?>
    			<h1 class="page-title"><?php
    
    				   /* If this is a daily archive */
    				   if (is_day()) { printf( $SMTheme->_( 'dailyarchives' ), get_the_date() ); 
    
    					/* If this is a monthly archive */
    					} elseif (is_month()) { printf( $SMTheme->_( 'monthlyarchives' ), get_the_date('F Y') );
    
    					/* If this is a yearly archive */
    					} elseif (is_year()) { printf( $SMTheme->_( 'yearlyarchives' ), get_the_date('Y') );
    
    					/* If this is a general archive */
    					} else { echo $SMTheme->_( 'blogarchives' ); }
    			?></h1>
    			<?php get_template_part('theloop'); ?>
    
    			<?php get_template_part('navigation'); ?>
    
    <?php
    	get_footer();
    ?>

    And how would you integrate a dropdown menu in each category when its listed?

Viewing 1 replies (of 1 total)