Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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');
?>
Source by wpformation.com #
 
PREVIOUS NEXT
Tagged: #Ajouter #du #contenu #sous #chaque #WordPress
ADD COMMENT
Topic
Name
8+9 =