Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: What templates (php) are used for category, tag and author archives?

New Front EN Support Forums Ikebana Theme Support What templates (php) are used for category, tag and author archives? Reply To: What templates (php) are used for category, tag and author archives?

#2680
oren
Participant

I think I got it!

I’ve added to functions.php (line 383):
‘taxonomies’ => array(‘category’,’post_tag’,’tagportfolio’)

so the “project” post-type will recognize the “category” and “tag” taxonomies.

Than I added before the loop in category.php (yes, I use one:) this:
query_posts( array(‘post_type’ => ‘project’) );

so it will call these post types.

And that’s it!

So far I worked only on the category.php, and now I’ll create the tag.php and author.php as well.

If I’ll have any Issues, I’ll post again (:

THANKS A LOT, ANDRII!

Oren