Plugin

Developer
Supported

Entry Categories

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

You must be logged in to post.

Does this plugin do this?

Support Request

Amit
Amit

Hi Laisvunas,

I am trying to output on a multiple entry page the category(ies) that each of my entries belong to. So far when I do this:

{exp:channel:entries channel="movies"}
        
        
<div class="category">
            
{categories}
                        
<a href="{path='/movies/wiki'}">{category_name}</a>
            
{/categories}                                
              
</div> <!-- end category -->
              
        
{/exp:channel:entries} 

This is spitting out all of the categories within the movies channel. I want only the one(s) for each movie entry. Will your plugin get me the output I want? Will gladly purchase if it does exactly this.

Laisvunas
# 1
Developer
Laisvunas

Hi Amit,

Yes, Entry Categories plugin can do this. You will need the code similar to this (don’t forget “parse” parameter):

{exp:channel:entries channel="movies" parse="inward"}
        
        
<div class="category">
            
{exp:entry_cats entry_id="{entry_id}" site="1"}
                        
<a href="{path='/movies/wiki/{level0_category0_cat_url_title}'}">{level0_category0_cat_name}</a>
           
{/exp:entry_cats}                                
              
</div> <!-- end category -->
              
        
{/exp:channel:entries}