• I have my site, and currently all the archives are sorted by year. I would like to have the month before it. I was trying to find this function but i can;t see to find it anywhere. Anyone be able to tell me where it is, and i think i know how to add the month but to be sure can someone post the info i need to do so. Btw im using the most recent version of wordpress, im a new user of it, and my website is https://www.thisisennis.com.

    Again, in the archives section under the sidebar, i want to display the month before the year.

    Thanks

    Ennis

Viewing 9 replies - 1 through 9 (of 9 total)
  • Im pretty sure you would just do <?php get_archives(‘monthly’); ?> instead of what you are using now.

    Thread Starter ennis

    (@ennis)

    well this is whats there under the index page now. I still want the counter, but i just wanna add the month before the 2005.
    <?php wp_get_archives(‘type=monthly&show_post_count=true’); >

    and the month doesn’t show up yet, even tho monthly is there.

    Thread Starter ennis

    (@ennis)

    bump

    Thread Starter ennis

    (@ennis)

    bum p

    According to the documentation, what you have is right, that should do it. Are u sure you have everything correctly inputted?

    Thread Starter ennis

    (@ennis)

    what do you mean? inputted correctly? sorry im new

    and all i want is the name of the month, january for example, before the year , 2005 under the archives in my sidebar. Instead of just the year & counter

    Are u saying that u want both year and month to display?

    Something like:

    2005
    January(5)
    February(6)

    This is how mine appear in the dozen themes I’m using:

    April 2005
    March 2005
    February 2005

    I didn’t have to do any tweaking to get them that way. I don’t think I’ve ever seen a theme with them listed the way they are on your blog. Which theme is that? Maybe you should check with the theme author?

    Thread Starter ennis

    (@ennis)

    yes AsceticMonk but i want it all like this: January 2005 (5)
    February 2006(6)

    Im using the shaded grey theme

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Archives – Change output on index page’ is closed to new replies.