load certain content only on first page of pagination

At a quick glance, it looks like this is nothing to do with your use of is_paged() (which looks correct) but that your closing if and endforeach statements are the wrong way round? You need to close the foreach() before you close the if().