[wp-hackers] if it is main page !

mohammad aghanabi m.websoft at gmail.com
Wed Aug 18 13:30:37 UTC 2010


oh yes i mistaken .

On Wed, Aug 18, 2010 at 5:59 PM, mohammad aghanabi <m.websoft at gmail.com>wrote:

> how to define if it's first page ?
> codex just said it's existed.
>
>
> On Wed, Aug 18, 2010 at 5:57 PM, scribu <scribu at gmail.com> wrote:
>
>> On Wed, Aug 18, 2010 at 4:25 PM, scribu <scribu at gmail.com> wrote:
>>
>> > Actually, there's a conditional tag for that too:
>> >
>> > is_paged()
>> >
>> > So, yeah, read the Codex :P
>> >
>>
>> Your check would become:
>>
>> if ( is_home() && !is_paged() )
>>
>>
>> --
>> http://scribu.net
>> _______________________________________________
>> 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