[SOLVED] Add category to blogpost in page-template
-
- Ssr. Bludit
- Posts: 25
- Joined: Sat Dec 15, 2018 11:37 pm
- Has thanked: 4 times
- Been thanked: 2 times
Hello,
I'm struggle how to add the category and tags to the blogpost page.
For tags found this topic viewtopic.php?p=7606&hilit=tags#p7606
But can't find a solution how display blogpost's category.
Looking in the documentation https://docs.bludit.com/en/dev-snippets/categories
Also looking to Bludit's themes but i'm wonder there is no theme that shows categories and tags in the blogposts itself.
Someone can help me with this?
Christophe
I'm struggle how to add the category and tags to the blogpost page.
For tags found this topic viewtopic.php?p=7606&hilit=tags#p7606
But can't find a solution how display blogpost's category.
Looking in the documentation https://docs.bludit.com/en/dev-snippets/categories
Also looking to Bludit's themes but i'm wonder there is no theme that shows categories and tags in the blogposts itself.
Someone can help me with this?
Christophe
Last edited by ctuxboy on Fri Dec 09, 2022 11:47 pm, edited 1 time in total.
-
- Ssr. Bludit
- Posts: 25
- Joined: Sat Dec 15, 2018 11:37 pm
- Has thanked: 4 times
- Been thanked: 2 times
Found it!
This does the job:
Found in the page-Class https://github.com/bludit/bludit/blob/v ... .class.php
This does the job:
Code: Select all
<?php echo $page->categoryPermalink(); ?>