На Владо таковата…

Make FT Calendar plugin to start week from Monday

| 3 Comments

It was a bit of a hassle but I  finally did it. The FT Calendar plugin (version 1.0.6) was starting the week from Sunday, which was rather annoying for me, being a Bulgarian… so I hacked it in order to start from Monday. That works for the thumb calendar shortcode. I just didn’t have the time to work around the whole thing, but it should be pretty easy, having achieved this little victory.

Installation of the „patch“ is actually replacing the existing class-shortcodes.php file with the one, attached here. It’s located in your plugins dir, probably wp-content/plugins/ft-calendar/classes/. DO make sure your plugin is version 1.0.6, or you might wipe out something useful or totally break it! I take no responsibility on the stuff you did or will do after downloading the patch.

Any feedback is welcome!

>>>DOWNLOAD THE PATCH<<<

3 Comments

  1. Мии лек, не мислиш ли, че подливаш леко вода на хората, дет се опитват да го продават тоя плъгин? „Premium features available: Considers „Week Starts On“ setting in WordPress.“

  2. Thanks for the patch. I’m sure the community will enjoy that. You may want to offer what version of the plugin your patch applies to though. That will be helpful to people in the distant future.

    Also, we have this functionality built into the version that is currently available to premium support subscribers. Eventually, this version will make its way to WordPress.org.

  3. Thanks for the reply, Glenn! I’ll add the version right away (1.0.6). I knew you offer that feature in your paid version, but having a great piece of open source plugin, it was like scratching my itch to add the missing part.

    Anyway, I do respect your work, and as you have noticed, my code is far from perfect, so it’d be a great gift to the community, if you release this feature to WordPress.org :)

    Cheers,

    vloo

Вашият коментар

Required fields are marked *.