[wp-hackers] prevent indexing of page 2,3 and so on

Alexander Hempton-Smith hempsworth at gmail.com
Fri Oct 22 23:47:19 UTC 2010


Exactly what I would have sent if I wasn't in the air at the time!

Sent from my iPhone

On 22 Oct 2010, at 21:31, Andrew Nacin <wp at andrewnacin.com> wrote:

> On Fri, Oct 22, 2010 at 4:22 PM, Charles K. Clarkson
> <cclarkson at htcomp.net>wrote:
>
>>   $current_page = get_query_var('paged') ? get_query_var('paged') : 1;
>
>
> Per http://codex.wordpress.org/Conditional_Tags:
> if ( is_home() && is_paged() )
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list