Ideas

This board is only for raising and voting on feature requests (Ideas / Suggestions).
Please raise any Bugs via "Get Help" button on your calendar admin dashboard.

All-in-One Event Calendar : “substr” -> “wp_trim_words”

Hello, I’m using WordPress add-on "All-in-One Event Calendar" at Japanese.

Since the og:description was not displayed correctly in multibyte language, I looked up and found a description of “substr” in app/view/event/single.php.

Here:

$desc = substr( $desc, 0, 300 );

Can you change it as follows?

$desc = wp_trim_words( $desc, 150 );

Bset regards.

  • Guest
  • Feb 23 2018
  • Attach files