One of the most requested features is the ability to remove the icons and display the year assigned to the announcement in its place. With the release of version 1.2, users can now quickly and easily swap out the icon assigned to the announcement for the year of the announcement with a single line of code added to the active themes functions.php file.
/** * Remove the Font Awesome icons and * display the announcement year instead */ define( 'TIMELINE_EXPRESS_YEAR_ICONS', true );
When added to your themes functions.php file, the icon drop down will no longer be visible on the edit/new announcement page. The icon column on the ‘Announcement’ post list table will no longer be present.
And most importantly, on the time line itself, the icons will be replaced with the year of the current announcement. For example, if your announcement is set to April 8th, 2016 – instead of the icon users will now see ‘2016’ inside of the circle.
If you need to assign additional styles to the year, such as changing the font color, you can use the following CSS selector: