UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!


Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Hoa to check main category of post

Adam O. · ·
2:39 PM Tuesday, 29 December 2015
Hi there,

I've got a question about categories.

I need to check in list of posts what is main category, where the post is added.

My categories structure looks like below:

Main category 01
- subcategory 01
- subcategory 02

Main category 02
- subcategory 03
- subcategory 04

and I need to show not directly category, where the post is added, but category above subcategory.

So how can I check this and show in post in list view (default.main.php) by adding some short code?

I'll be very grateful for your help with this thread!
Best regards!
The replies under this section are restricted to logged in users or users with an active subscription with us