thomasjons
Forum Replies Created
-
Thank, in header.php I added it as below and now it works.
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>Hi I tried something alike. I did put the below vode in top of my functions.php which didn’t work.
I can try your exact code, in which file do you prefer me to put it?
Code I tried with:
<?php
if ( ! function_exists( ‘wp_body_open’ ) ) {
/**
* Fire the wp_body_open action.
*
* Added for backwards compatibility to support WordPress versions prior to 5.2.0.
*/
function wp_body_open() {
/**
* Triggered after the opening <body> tag.
*/
do_action( ‘wp_body_open’ );
}
}Following. Same problem, working in header and footer, but not in <body>
Forum: Plugins
In reply to: [Loco Translate] Problem handling AJAXThis is the information I’ve got from the plugin developer:
“Currently, Loco Translate plugin isn’t intended for working with AJAX loading because the request is sent to a server, and AJAX can’t “remember” what translation there was.”
Forum: Plugins
In reply to: [Loco Translate] Problem handling AJAXHello,
This is a setting in WPML so it works with AJAX on the front end.
So Loco needs to set a similar cookie to work properly with AJAX.
Does it make sense?Yeah, my own wp cache deleting nor server cache deleting didn’t do it, somehow the server guys could delete the cache and it got away. Thx.