 thomasP-18
|
Tell us what you are trying to do?
You helped me on the hidden link site to resolve the problem.
Is there any documentation that you are following?
You send me the following PHP File to solve the problem:
LOGOLINK (plugins/quadmenu/templates/logo.php):
<?php if ($url):
$home = get_option('home');
if ( $link == $home ) {
$link = apply_filters( 'wpml_home_url', $home );
}
?>
">', esc_url($url), esc_attr(get_bloginfo('name'))); ?>
<?php endif; ?>
Is there a similar example that we can see?
On the Tachofresh site the code works. On the Wanko site not.
What is the link to your site?
hidden link
.htaccess
WANKO
!!Logistik_Soft!!
|
 Nicolas V.
Supporter
Languages:
English (English )
French (Français )
Timezone:
America/Lima (GMT-05:00)
|
Hi,
Can you try to follow the example in our documentation: https://wpml.org/wpml-hook/wpml_home_url/
It should be something like:
<?php if ($url):
$link = apply_filters( 'wpml_home_url', get_option( 'home' ) );
?>
Please note that custom work to modify plugins or themes isn't covered by our support policies: https://wpml.org/purchase/support-policy/
I would invite you to contact the plugin authors and asked them to join our Go Global program: https://wpml.org/documentation/support/go-global-program/
Our developers will be able to help them achieve compatibility.
|
 thomasP-18
|
Hello Nicolas,
Thank you very much for your help.
The small change to the PHP script has helped.
The link on the logo now works as it should.
Regards Thomas
|