I have a wordpress site with the 10 latest posts shown on the homepage.
I need to modify some text (because of duplicate content) on homepage but not on post page.
I try to modify the following line in index.php like this :
php the_content(Read more ...'); php the_content(Read more ...') . $content = str_replace('XXX', 'YYY');
But it's not working and i can't find a solution.
Can anybody help? Thank you.