65 posts
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Contributed a free file of the month
+3 more
-ilove2design- says

Hi.

I used WP for a project that I did for someone but now I got a problem. And to say it frankly: I’m a designer, not a developer. So I’m a zero when it comes to WP.

The coders who did this can’t help me so I ask here:

The thing is this: the site I (we) did is using a archive, displaying months. When you now click on lets say “June 2009” you get a empty result.

I already also figured out why this is. Because it links to

www.bla.xx/?m=200906

Now if you link to www.bla.xx/?m=20096 (I just removed the 0 for the month) it works.

My question now is: how can you teach wordpress to display months with out the stupid 0 ?

the archive.php got that line (not the whole line) -> http://pastie.org/517528

I know “m” is for month in that format: 06 , 09, 10…etc

Is there a format for that which can change this? Or is there something at the posts that must be changed?

I would be very nice if someone can help here.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by