The cat training book told us we should encourage our cats to use the scratching post instead of carpets and furniture by giving them treats and praise when they use the post.
What they learned from this, after merely two lessons, is that when they want a treat, they should place their paws on the scratching post for about a second, and look at us expectantly waiting for a treat.