Is there a way to get the wp_get_archives tag to display the monthly archives in numericals? Much like you can format the_time and make it use numbers instead of the full written out date, I would like to have numbers for my monthly archives:
01.2009
02.2009
03.2009
instead of
january 2009
february 2009
march 2009
Is there a way to do this? I have browsed the forum extensively but have not found any good answer. Tried changing the general-template.php file but that did not help. Also did not find any plugin that could help me with this issue.
Any ideas on this?
]]>Category 1
August 11
July 11
June 11
Category 2
August 11
July 11
June 11
Category 3
August 11
July 11
June 11
Brian
]]>The site is basically a dictionary – www.thebabydictionary.com, and you can see the page I’m working with at https://thebabydictionary.com/all-letters
I want it to show the category (such as “A”), then all the posts under it alphabetically.
There are 2 ways we can skin this cat. A single code that does it all, or we can do 26 individual “get archives” codes, where I can specify each category to go and get. Like I type “A”, and then “get all posts for category 6”, and “B”, “get all posts for category 7”, etc.
Simpler the better.
Thanks!
]]>I am attempting to generate a list (similar to wp_get_archives) that outputs the post thumbnail. When wp_get_archives generates its list, it outputs it as an LI list, but only outputs the linked title.
Any clues on generating each post’s thumbnail as part of this data?
]]>My client would like a custom front page on his blog with several sections, one of which will include the most recent blog post.
In my limited knowledge, I was going to make a frontpage.php template for this and include wp_get_archives(‘postbypost’, 1); to show the latest post, but I was wondering if there was a way to SHOW what the post is? I guess it would be to echo the contents of that latest post on the front page…
Any help would be great!
Thanks!
Alex
]]>[wp_get_archives cat="7" type="postbypost" limit="5"]
But what if I want to pull from a specific tag, not a category?
]]><?php wp_get_archives('type=yearly'); ?>
I would have thought &exclude=35 would have done it but no luck
Help please!
]]>I would like to output something like <li id=”active”> instead of just
For example, if I am searching for all posts in March 2008, I’d like:
<li id=”active”>Mar 2008
Does anyone have any insight?
]]>