[wp-hackers] to display the data error term

Rafael Ehlers rafaehlers at gmail.com
Mon Dec 5 22:19:55 UTC 2011


Have you REgenerate your permalinks?!

On Mon, Dec 5, 2011 at 7:13 PM, Leo Baiano <ljunior2005 at gmail.com> wrote:

> I created a taxonomy 'team' and within the terms 'team 1', 'team 2' and
> 'team 3'. I want to list the data for each term on their respective pages,
> so I created the file taxonomy-team.php and to list the data I was using
> <php $ term->name // for example?> When access meusite.com /team/team-1
> should appear on the "Team 1", but nothing appears. He print_r($term), and
> nothing, but when I echo $term; appears the slug of the word, eg 'team-1'.
> What am I doing wrong? Comom I list the data from the end when the user
> accesses the page?
>
> --
> Amplexos,
>
> Leo Baiano
> http://www.leobaiano.com
> http://www.blog.ljunior.com
> http://www.mcelebridades.com
> http://www.twitter.com/leobaiano
> _______________________________________________
> 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