• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How display main category title in subcategory and items titles

This customization is for xenresource.

How i can show the name of the main category in sucategory titles. eg :


and on items.

ItemsName-TITLE - MAINCAT-TITLE | mysite.com

like Breadcrumbs..

Best Regards.
nobody can tell me please.

i can call :
 Item-title - {$media.media_title}
after itme title but it shows me the subcategory, however, I need to show the main category