WPML Calendar Widget

A calendar widget compatible with WPML, counts only posts available in current language.

Author:Ihor Vorotnov (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.4
Plugin version:1.1.0
Added to WordPress repository:29-12-2015
Last updated:29-12-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://pressurgeons.com/plugins/
Total downloads:1 448
Active installs:60+
plugin download
Click to start download

This is a fork of standard WordPress Calendar widget, but with WPML support.

The problem with standard calendar widget is that it runs custom SQL queries and has no hooks to alter that queries from a translation plugin like WPML. That results in a calendar counting all posts, regardless of what current language is and are there translated posts available in currently selected language.

This plugin fixes this problem. Use it instead of standard calendar if you have multilingual website powered by WPML plugin.

Extras

It also adds 2 additional CSS classes for styling purposes: - is-today for, well, today in your calendar - is-current-day for current day on a daily archive page

Contributing

Development takes place on GitHub. Contributions are always welcome!

File issues here (on plugin support forum), or on GitHub.