Answers for "Ajouter du contenu personnalisé sous chaque article/publication WordPress"

PHP
0

Ajouter du contenu personnalisé sous chaque article/publication WordPress

<?php
function add_post_content($content) {
if(!is_feed() && !is_home()) {
$content .= '<p>This article is copyright © '.date('Y').' '.bloginfo('name').'</p>';
}
return $content;
}
add_filter('the_content', 'add_post_content');
?>
Posted by: Guest on September-29-2021

Code answers related to "Ajouter du contenu personnalisé sous chaque article/publication WordPress"

Browse Popular Code Answers by Language