Jimmy Thai
Forum Replies Created
-
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] compilation abortedThanks for your help!
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] compilation abortedMy web host suggest to delete this file : get-cpanel-quota-usage.pl
Is it a good idea ?
has anyone tested the new version, is it OK?
Forum: Plugins
In reply to: [WP Bottom Menu] random problem on some pages.I removed the css and js from the cache, it seems to work
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] autoload postI removed it because it didn’t work. Should I put it on to find the solution? Thanks for your help
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] autoload postForum: Plugins
In reply to: [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Get the SEO titleChat GPT find this code :
// Récupérer le titre SEO Rank Math pour le post en cours
$seo_title = get_post_meta($post->ID, 'rank_math_title', true); // Récupérer les variables de remplacement pour le titre SEO Rank Math
$variables = get_post_meta($post->ID, 'rank_math_replacements', true); // Convertir les variables de remplacement en tableau associatif
$variables_array = json_decode($variables, true); if (!empty($seo_title)) {
// Remplacer les variables dans le titre SEO Rank Math, y compris la variable %title%
$title = preg_replace_callback(
'/%([a-zA-Z0-9_-]+)%/',
function($match) use ($variables_array, $post) {
$var = $match[1];
if ($var == 'title') {
return get_the_title($post->ID);
} elseif ($var == 'sep') {
return isset($variables_array['sep']) ? $variables_array['sep'] : '';
} elseif ($var == 'site_name') {
return isset($variables_array['site_name']) ? $variables_array['site_name'] : '';
} elseif ($var == 'page') {
return isset($variables_array['page']) ? $variables_array['page'] : '';
} elseif (substr($var, 0, 4) == 'tax_') {
$tax_slug = substr($var, 4);
$term = get_term_by('slug', $variables_array[$tax_slug], $tax_slug);
return is_object($term) ? $term->name : '';
} else {
return '';
}
},
$seo_title
);
} else {
// Utiliser le titre de l'article si le titre SEO Rank Math est vide
$title = get_the_title($post->ID);
} // Utiliser le titre SEO Rank Math pour le post en cours ou le titre de l'article si le titre SEO Rank Math est vide
$post_title = $title;is it correct for you ?
Forum: Plugins
In reply to: [My WP Glossary] désactiver les liensMille merci !
C’est parfait !
Forum: Plugins
In reply to: [My WP Glossary] désactiver les liensaprès avoir tester le “0” fonctionne. Merci pour votre aide !
Forum: Plugins
In reply to: [My WP Glossary] Erreur à l’activation du pluginUn grand merci !!
Forum: Plugins
In reply to: [My WP Glossary] désactiver les liensMerci pour votre aide,
Si je veux désactiver les liens (ma question de départ), dois-je mettre
function(){ return 0; } ?
Merci pour votre aide,
Bien à vous,
Forum: Plugins
In reply to: [My WP Glossary] désactiver les liensBonjour Bastien,
Mes meilleurs v?ux pour cette nouvelle année ??
Auriez-vous la possibilité de m’aider ?
Bien à vous,
Forum: Plugins
In reply to: [My WP Glossary] Erreur à l’activation du pluginBonjour,
Pensez-vous pouvoir régler ce problème ?
Bien à vous,
Forum: Plugins
In reply to: [My WP Glossary] désactiver les liensBonjour,
J’avoue être à la fois nul en anglais et en codage si vous avez la possibilité de m’aider ce serait super sympa ??
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] Update to 4.4.2 caused fatal errorHello !
Same error with my website ??
this error doesn’t interfere with me website’s functioning.
thanks for your help.