[wp-hackers] Filter messages on index based on a tag

madalin niladam at gmail.com
Thu Jan 15 14:33:01 GMT 2009


Thanks alot :)

On Thu, Jan 15, 2009 at 4:23 PM, Glenn Ansley <glenn at glennansley.com> wrote:
> Try inserting the following directly above if (have_posts()) : ?> on index.php
>
> if( is_home() || is_front_page() ) {
>  query_posts('tag=159');
> }
>
> On Thu, Jan 15, 2009 at 8:24 AM, madalin <niladam at gmail.com> wrote:
>> Hello,
>>
>> I'm trying to show on my index page every post that is found in a
>> specific tag that would be specified manually in theme's
>> functions.php. How would i go arround that ?
>>
>> IE: I have a tag called 159, and i'm trying to show (INDEX only) only
>> the posts found in that specific tag. Is there any plugin or function
>> that i could use ?
>>
>> Thanks.
>>
>> --
>> Regards,
>> madalin
>> http://madalin.eu
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Cu drag,
madalin
http://madalin.eu
http://cezara.tg-jiu.ro
http://www.tg-jiu.ro
http://www.radioomega.ro
http://www.accestv.ro


More information about the wp-hackers mailing list