• I am trying to edit my footer.php so that I can limit the amount of months shown in the “Archives by Month” column. Please see: https://eyesoncreativity.com/ (at the bottom).

    I tried editing the code in the footer.php:

    <div id="footerleft">
    	<h2>Recent Updates</h2>
    		<ul><?php get_archives('postbypost', 10); ?></ul>
    	</div>
    
    <div id="footermiddle1">
    	<h2>Archives by Month</h2>
    		<ul><?php wp_get_archives('type=monthly', 10); ?></ul>

    You’ll notice I tried adding the , 10 – but that did not work (and obviously neither did omitting it). Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archives Breaking Theme’ is closed to new replies.