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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.