Hi,

Sorry if it's the wrong subforum... didn't know where else to put it. I'm having an issue with WP, and I need your help.

How to add some text in the index.php file so it's displayed ONLY on index page? I add it normally in the file, but it shows it also on domain.com/page/2 and 3, and so on, so I'm having a problem with duplicate content. I want the text only to be displayed on the homepage, and I can't do it by adding through Wordpress.

Is there a command in PHP that can solve my problem? I tried this:

Code:
<?php if ( is_home() || is_page() ) { ?>
<?php } ?>
But it doesn't work.

Help guys, I need it urgently. Thanks a lot!