Ce code permet de modifier la taille des extraits automatiques de WordPress :

[pastacode lang=”php” message=”Modifier la taille des extraits” highlight=”” provider=”manual” manual=”function%20seomix_seo_excerpt_length(%20%24length%20)%20%7B%0Aif%20(is_feed())%0Areturn%20180%3B%20%2F%2F180%20mots%20pour%20les%20flux%20RSS%0Aelseif%20(is_tag())%0Areturn%20200%3B%20%2F%2F200%20mots%20pour%20les%20pages%20de%20mots-cl%C3%A9s%0Aelse%0Areturn%2090%3B%20%2F%2F90%20mots%20pour%20le%20reste%20du%20site%0A%7D%0Aadd_filter(%20’excerpt_length’%2C%20’seomix_seo_excerpt_length’%2C%20100%20)%3B”/]