we use the following theme for a client website: hidden link
Since we have now already created a lot and would now like to add a second language. All categories, events, etc. we could assign each to a language. However, we have the problem that the theme may not support WPML. How can we still use this?
Currently, all categories, months,.. etc are displayed as filters (German and English) on this page: hidden link . Also all events are displayed (English and German). Is there a way that we can display only the filters & events of the current language?
Hello!
The site link that you provided results in a fatal error with the message:
"Es gab einen kritischen Fehler auf Ihrer Website."
I suggest enabling debugging in WordPress first, so to diagnose the problem.
You can do this by setting this options in wp-config.php
// Turn debugging on
define('WP_DEBUG', true);
// Tell WordPress to log everything to /wp-content/debug.log
define('WP_DEBUG_LOG', true);
// Turn off the display of error messages on your site
define('WP_DEBUG_DISPLAY', false);
// For good measure, you can also add the follow code, which will hide errors from being displayed on-screen
@ini_set('display_errors', 0);
About your question - it depends on how the theme calls for the categories, events & etc... It is possible that it will work - but I cannot say without being able to look at the site.
You said that it shows them in all languages - it is possible that they have enforced "suppress_filters" while doing the query to obtain the elements (whether categories, events or something else) and thus bypassing the logic that will allow WPML to work.
The topic ‘[Closed] theme problems’ is closed to new replies.