eschoenawa
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Bento] Video players not working in firefox, but fine in chromeI have circumvented this problem for now by embedding youtube videos, so you can’t see the player on my site anymore. If you want me to still reproduce it please reply here and I’ll add a hidden page with a player.
Forum: Localhost Installs
In reply to: Can’t select database (WAMP)In my case, I had to change the DB name to not include an underscore. I first tried
wp_dp
and that gave me the error, while the DB namewordpress
worked fine.@atsn Do you mean when installing this plugin or after applying my fix? As far as I can tell the behavior you’re describing doesn’t happen on my page after applying the fix.
Okay, after some digging I found this in the plugin’s
class-apsfc.php
:/** * Disable detect browser language, will return default language instead. */ add_filter( 'pll_preferred_language', '__return_false' );
I tried removing it and it had no negative effect as far as I can tell (I might be wrong though). And removing it re-enables the auto-detection.
Forum: Themes and Templates
In reply to: [Bento] Translate the call-to-action buttons with PolylangI’ve now tried two possible solutions that both sadly didn’t work.
First, I tried to use a custom shortcode for this, more specifically this one, which allows switching the displayed text depending on the selected language. Sadly it seems like Bento is not using shortcodes when interpreting the call-to-action-button-text, since just the shortcode is displayed on the button.
Secondly, I tried inlining PHP into the button text and loading a custom-defined string from Polylang, to no avail as the button simply disappears when the text is just inlined PHP.