Search found 6 matches

by drawwwn
Sun Mar 12, 2023 4:53 am
Forum: Themes
Topic: Different template for category
Replies: 1
Views: 97

Different template for category

Hello. I have a website where i want to display showcase of my projects and i want to create another category for blog.
for example blog category i want to use a template called bblog-posts.php and the showcase to use showcase.php
by drawwwn
Tue Feb 28, 2023 1:21 pm
Forum: Show your Bludit-Website!
Topic: Vila Karolina
Replies: 2
Views: 256

Re: Vila Karolina

How did u make it bilingual?
by drawwwn
Tue Feb 28, 2023 1:20 pm
Forum: Themes
Topic: Categorized index
Replies: 6
Views: 133

Re: Categorized index

Edi wrote: Mon Feb 27, 2023 7:29 pm Yes, this is an example of the code without any HTML.
It's working, thank you!
by drawwwn
Mon Feb 27, 2023 6:07 pm
Forum: Themes
Topic: Categorized index
Replies: 6
Views: 133

Re: Categorized index

There is a tutorial for this in the documentation: https://docs.bludit.com/en/dev-snippets/categories so it would be this: List all pages related to a particular category: <?php // Category key $categoryKey = 'example'; // The category is an Category-Object $category = getCategory($categoryKey); //...
by drawwwn
Mon Feb 27, 2023 2:23 pm
Forum: Themes
Topic: Categorized index
Replies: 6
Views: 133

Re: Categorized index

And where should this be shown? On a page or on in the sidebar? So, now my homepage is showing all posts no matter what category I set for them. I want to divide them in 2 separated divs. One for posts that has "works" category applied and one for the one that has "articles" cat...
by drawwwn
Sun Feb 26, 2023 12:21 am
Forum: Themes
Topic: Categorized index
Replies: 6
Views: 133

Categorized index

How can I display on homepage only posts from certain category?

I want to make something like:
[ Sport ]
[ posts from Sport category ]
[ Lifestyle ]
[ posts from lifestyle category ]