I really liked this plugin, but noticed it hasn’t seen an update in a while, so I hired a great programmer on Freelancer.com to add the Day of Week (Mon, Tue, etc..) to each Posterboard Event Card.
I am an okay PHP programmer, so I hired Chetan from cmitexperts.com and they made the changes in 2 hours for a reasonable fee. Now I am sharing that solution with anyone who makes their way here.
So download the Powerboard plugin. You need to make 2 changes to the existing files to get day of week on each event card. Then upload those files to the existing folders to see the results.
In event-organiser-posterboard.php (in the plugin root folder):
Add the following line to the event array.
We did it after the line for “event_start_day”
‘event_start_day_name’ => eo_get_the_start( ‘D’ ),
In single-event-board-item.html (in the templates folder):
Add a third line to the “eo-eb-date-container” div so it looks like this:
<span class=”eo-eb-date-month” style=”background-color: <%=event_color%>;”><%=event_start_month%></span>
<span class=”eo-eb-date-day” style=”background: <%=event_color_light%>;”><%=event_start_day%></span>
<span class=”eo-eb-date-month” style=”background-color: <%=event_color%>;”><%=event_start_day_name%></span>
Hopefully this helps someone else.
– Scott Lynn
- The topic ‘Added Day of Week to Event Cards’ is closed to new replies.