Title: Additional formatting option
Last modified: September 1, 2016

---

# Additional formatting option

 *  Resolved [springthistle](https://wordpress.org/support/users/springthistle/)
 * (@springthistle)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/additional-formatting-option/)
 * I’m writing with a question about the plugin you wrote, The Events Calendar Shortcode(
   [https://wordpress.org/plugins/the-events-calendar-shortcode/](https://wordpress.org/plugins/the-events-calendar-shortcode/)).
 * I’m a WordPress developer, and I have a client who wanted a slightly different
   display option, which is to list the events with a large box on the left with
   the date. You can see this implemented on their homepage-under-development: [http://cnyepiscopal.wpengine.com/](http://cnyepiscopal.wpengine.com/)
 * In order to make this possible, I had to add a small bit of code to the plugin.
   It’s just a new case in the switch():
 * case ‘date_thumb’:
    if( self::isValid($atts[‘eventdetails’]) ) { $output .= ‘
   <div class=”date_thumb”><div class=”month”>’.tribe_get_start_date(null,false,’
   M’).'</div><div class=”day”>’.tribe_get_start_date(null,false,’j’).'</div></div
   >’; } break;
 * The problem with this solution is that any time you release an update to the 
   plugin, this new code of mine disappears. I was wondering if you’d be willing
   to implement this into the plugin (or grant me developer access on WordPress.
   org, and I’d be happy to do it).
 * Thank in advance for your response!
    Aaron.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [sbedingfield](https://wordpress.org/support/users/sbedingfield/)
 * (@sbedingfield)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-7582547)
 * Hey springthistle,
 * I am also looking for this permanent implementation into the core code of the
   plugin. I think that would be a handy option to hook into for styling purposes.
 * Until you can your great code into the next release, I was wondering if you had
   to do anything other than add the ‘date_thumb’ case to the switch():
 * Did you have to add a shortcode option to the basic code? Like this:
 * `[ecs-list-events date_thumb='true']`
 * It seems like you shouldn’t have to because of the ‘eventdetails’ call, but for
   some reason I can’t get this to print out. Any help would be much appreciated.
 *  Thread Starter [springthistle](https://wordpress.org/support/users/springthistle/)
 * (@springthistle)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-7582613)
 * HI sfedingfield,
 * the way you take advantage of the “date_thumb” option is by using the “contentorder”
   attribute, where you can say what order to print information. The way it’s used
   on my site is:
 * contentorder=’date_thumb, title, date, excerpt, venue’
 *  [sbedingfield](https://wordpress.org/support/users/sbedingfield/)
 * (@sbedingfield)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-7582628)
 * You’re a saint!
 *  [Lígia ‘Lilly’ Freitas](https://wordpress.org/support/users/lfreitas/)
 * (@lfreitas)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-7582778)
 * [@springthistle](https://wordpress.org/support/users/springthistle/) You’re a
   saint! [2]
 * This is exactly what I was looking for, thanks.
 *  Plugin Author [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * (@brianhogg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-7582779)
 * Thanks for the code! Looks like a nice addition.
 * I’ll either add this into the next version, or provide hooks/filters so you can
   add it in with a small functionality plugin vs. editing the core code.
 *  Thread Starter [springthistle](https://wordpress.org/support/users/springthistle/)
 * (@springthistle)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-8293420)
 * Looks like this date_thumb option I requsted has been added to the latest version
   of the plugin (Version 1.3). Thank you very much!
 *  Plugin Author [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * (@brianhogg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-8296353)
 * No problem! There’s also a bunch of additional filters, making it easier to add
   customizations without hacking the original plugin, and of course helped with
   the Pro version.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Additional formatting option’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar-shortcode/assets/icon-256x256.gif?rev
   =3023752)
 * [The Events Calendar Shortcode & Block](https://wordpress.org/plugins/the-events-calendar-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar-shortcode/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/additional-formatting-option/#post-8296353)
 * Status: resolved