php, Snippets, WP
Place ce fichier dans le répertoire racine de ton installation WordPress. Accède au fichier via ton navigateur (par exemple, http://tonsite.com/update_image_alt.php). Après l’exécution du script, tu peux retirer le fichier update_image_alt.php de ton site, car...Snippets, WP
?nocache https://domaine-de-verquiere.fr/?nocacheDIVI, php, Snippets, WP
// Divi auto-generate Yoast WordPress SEO meta descriptions add_filter( ‘wpseo_metadesc’, ‘divi_auto_gen_meta_description’ ); function divi_auto_gen_meta_description($metadesc) { if( trim($metadesc) == ” ) { global $post;...php, Snippets, WP
function et_get_footer_credits() { $credits_format = ‘<%2$s id="footer-info">%1$s</%2$s>’; $footer_credits = do_shortcode(”) . do_shortcode(”); return et_get_safe_localization( sprintf( $credits_format, $footer_credits,...php, Snippets, WP
/* Automatically set the image Title, Alt-Text, Caption & Description upon upload...php, Snippets, WP
function custom_text_replace( $translated_text, $untranslated_text, $domain ) { switch ( $untranslated_text ) { case ‘Read More’: $translated_text = __( ‘Learn More’, $domain ); break; case ‘Leave a Comment’: $translated_text = __(...