16 വർഷം മുമ്പ് ഇന്ന് പതിപ്പ് 0.0.1 വേർഡ്പ്രസ്സ് ചെയ്യുന്നതിനുള്ള പ്ലഗിൻ പുറത്തിറങ്ങി. ഈ പതിപ്പ് ചില പിഎച്ച്പി അനുയോജ്യത പ്രശ്നങ്ങൾ പരിഹരിക്കുകയും കുറച്ച് ആവശ്യമില്ലാത്ത കോഡ് നീക്കംചെയ്യുകയും ചെയ്യുന്നു.
ഇപ്പോൾ ഒരു റിലീസ് എങ്ങനെ ചെയ്യാമെന്ന് ഞാൻ മിക്കവാറും മറന്നു, അതിനാൽ എന്തെങ്കിലും പ്രവർത്തിക്കുന്നില്ലെങ്കിൽ. ദയവായി എന്നെ അറിയിക്കൂ “ഞങ്ങളെ സമീപിക്കുക” പേജ്.

ഒഫെർ ഉന്നത & ട്രാൻസ്പോഷ്,
Happy Birthday to Transposh!
THANK YOU for offering this free, വലിയ പ്ലഗിൻ. It really has helped my website grow and widen the audience reach.
Thank you very much!!
Thank you for your kind words
ഗ്രേറ്റ് പ്ലഗിൻ, didn’t expect there to be an update.
Thank you for your generosity and free, some of the features of your plugin are better compared to other paid plugins.
I’ve tried just about every other plugin out there, free and premium. Transposh is the best, bar none. നന്ദി, ഒഫെർ, for keeping it alive. Good to read you’re ok. It’s a relief to have something good be shared, especially in these difficult and violent times. Feels like a spark of hope for humanity. So here is my little pebble.
As opposed to the [tpe lang="en" മാത്രം="വൈ"] അഥവാ [tpe mylang lang='fr,en'] shortcode methods, which don’t always work, here is the best, easiest, and most powerful way to show content selectively per language:
1. ട്രാൻസ്പോഷ് > ക്രമീകരണങ്ങൾ > general settings > tick rewrite urls (ex (http://transposh/en))
2. Add this to your functions.php:
//add a class to body based on the language
function custom_body_class($classes) {
// Check if the URL contains ‘/en/’
എങ്കിൽ (strpos($_SERVER[‘REQUEST_URI’], ‘/en/’) !== false) {
// Add ‘english’ to the body class array
$classes[] = ‘english’;
} മറ്റാരെങ്കിലും {
// Add ‘french’ to the body class array if ‘/en/’ is not found
$classes[] = ‘french’;
}
return $classes;
}
add_filter(‘body_class’, ‘custom_body_class’);
3. Add this CSS:
/*hide french listing on english pages*/
body.english .not-on-french {
display: none;
}
/*hide english listing on french pages*/
body.french .not-on-english {
display: none;
}
4. അപ്പോള്, to show an element selectively, all you have to do is add one of these this classes to the elements you want to hide:
“not-on-english”
അഥവാ
“not-on-french”
Long live Transposh and may humans continue understanding each other !