• eyenovation

    (@eyenovation)


    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: http://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)
  • moshu

    (@moshu)

    So, why don’t you go back to the Documentation and READ?
    Template_Tags/wp_get_archives#Examples
    and the articles linked at the bottom about how to use the parameters…

    Thread Starter eyenovation

    (@eyenovation)

    So, why don’t you go back to the Documentation and READ

    Sorry, I hadn’t realized there was documentation on that sort of thing. Anyway problem solved. Thanks very much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Archives Breaking Theme’ is closed to new replies.