Skip to content

Скептична яма за идеи

и други бележки към мене си

  • начало
  • tech
  • блог
  • здраве
  • приключения
  • ядене
  • бизнес
  • деца
  • Кой?

Make FT Calendar plugin to start week from Monday

Posted on 2011.12.20 - 2016.12.04 by vloo

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<<<

Posted in techTagged calendar hack, wordpress plugin

Post navigation

Даряване на кръв в 10 лесни стъпки
Ден 1 до 3: Пещерен гневник от експедицията в Албания – Мая Арапит 2011.

3 Comments

  1. Боби says:
    2011.12.20 at 3:22 pm

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

    Reply
  2. Glenn Ansley says:
    2011.12.20 at 7:45 pm

    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.

    Reply
  3. vloo says:
    2011.12.20 at 10:08 pm

    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

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: micro, developed by DevriX.