Get Month and Day from the_excerpt?
-
Hi,
I’m using the following code to get the most recent blog entry:
<?php query_posts('showposts=1'); ?><?php the_title('<span style="font-weight:bold">', '</span>'); ?><br /><?php while (have_posts()) : the_post(); ?><?php the_content_rss('', TRUE, '', 14); ?><?php endwhile;?>
However, I wonder how I could get the first 3 letters of the month and the day number. For example 21st June would be JUN 21.
Can someone help?
Also, is there a way to restrict what ‘category’ it’s retrieved from?
I’ve looked in the codex, but with no success.
Thank you!
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Get Month and Day from the_excerpt?’ is closed to new replies.