Skip to content

markupboy/MonthlEE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

MonthlEE is a simple Expression Engine plugin that takes in a number from 1 to 12 and returns the corresponding month name.

Usage

{exp:month_name month="2"}

Where the month parameter can be any number 1 through 12. If an invalid string is passed, or the number is outside of the bounds, the plugin will fail silently.

Tips

This plugin can be helpful in turning monthly/yearly archive urls into nicely formatted month names for headers. For instance, if you have the url http://www.example.com/archive/2011/06, month name can help create a nicely formatted header such as

Archives for {exp:month_name month="{segment_3}"} {segment_2}

Which will output Archives for June 2011

About

An Expression Engine plugin for converting a numeric string to a month name.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published