This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Bricks builder URL gets wrong redirect when “Use directory for default language” is enabled (WPM…
Started by: Daniel Dorado
in: English Support
Problem: add_action( 'after_setup_theme', function () {<br /> if ( ! defined( 'ICL_SITEPRESS_VERSION' ) || ! class_exists( '\Bricks\Theme' ) ) {<br /> return;<br /> }<br /><br /> $bricks = \Bricks\Theme::instance();<br /><br /> // 1. Prevent Bricks from switching language<br /> if ( ! empty( $bricks->wpml ) ) {<br /> remove_action( 'bricks/builder/switch_locale', [ $bricks->wpml, 'switch_builder_languge' ] );<br /> }<br /><br /> // 2. Instead switch UI locale<br /> add_action( 'bricks/builder/switch_locale', function ( $locale ) {<br /> if ( empty( $locale ) || empty( $_GET['bricks'] ) || $_GET['bricks'] !== 'run' ) {<br /> return;<br /> }<br /><br /> // prevent memory exhausion I got on my sandbox<br /> static $lock = false;<br /> if ( $lock ) {<br /> return;<br /> }<br /> $lock = true;<br /><br /> try {<br /> // Switch UI locale<br /> switch_to_locale( $locale );<br /> // Reload Bricks theme textdomain <br /> unload_textdomain( 'bricks' );<br /> load_theme_textdomain( 'bricks', get_template_directory() . '/languages' );<br /> } finally {<br /> $lock = false;<br /> }<br /><br /> }, 5, 1 );<br /><br />}, 20 );If this solution does not apply to your case or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum. |
|
0 | 13 | 2 months, 1 week ago | |
|
WP Checkboxes are broken
Started by: Daniel Dorado
in: English Support
Problem: Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us through our support forum at WPML support forum. |
|
1 | 9 | 1 year, 1 month ago | |
|
Database Error
Started by: Daniel Dorado in: English Support |
|
1 | 9 | 1 year, 4 months ago | |
|
experiencing intermittent database crashes on our AWS architecture
Started by: Daniel Dorado in: English Support |
|
0 | 5 | 1 year, 5 months ago | |
|
A double language tag is added to the URL in category links
Started by: Daniel Dorado in: English Support |
|
2 | 7 | 2 years, 3 months ago | |
|
odd 404 when using language switcher with object cache pro
Started by: Daniel Dorado in: English Support |
|
2 | 6 | 2 years, 5 months ago | |
|
DB ERROR
Started by: Daniel Dorado in: English Support |
|
2 | 2 | 3 years, 1 month ago | |
|
el wizard del instalador no funciona en instalacion wp multisite
Started by: Daniel Dorado in: Soporte en español |
|
2 | 2 | 3 years, 8 months ago | |
|
Error de sincronización de variaciones de producto
Started by: Daniel Dorado in: Soporte en español |
|
2 | 5 | 3 years, 10 months ago | |
|
No puedo cambiar el nombre de una taxonomía (atributo de WooCommerce)
Started by: Daniel Dorado in: Soporte en español |
|
2 | 10 | 4 years ago | |
|
No puedo traducir una taxonomia
Started by: Daniel Dorado in: Chat Support |
|
1 | 2 |
4 years ago
|
|
|
can't finish installation wizard
Started by: Daniel Dorado in: English Support |
|
2 | 2 | 4 years, 5 months ago |