I am creating my WordPress theme…
This way I can get the month when the post was published as a string:

<?php the_time('j'); ?>

Now I need only the first 3 characters of this string.

For example: JANUARY should be JAN, APRIL should be APR…

Read more here: How to get first 3 character of month name in WordPress?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: