Search found 6 matches

by arikenko
Sun Apr 10, 2022 9:12 pm
Forum: General
Topic: Limit recent posts to 5 on homepage
Replies: 4
Views: 815

Re: Limit recent posts to 5 on homepage

Is there another way ? Will only upgrading allow me to limit the number of posts on homepage? Cause my backup plugin doesn't work. It shows that backup file was created by when I try to download it I get 404. When I search for backup file with Filezilla at /bl-content/workspaces/backup it shows noth...
by arikenko
Mon Apr 04, 2022 9:19 pm
Forum: General
Topic: Limit recent posts to 5 on homepage
Replies: 4
Views: 815

Limit recent posts to 5 on homepage

Hello, I am running Bludit Standard Version 3.8.1. I don't know php but would like to limit posts to just latest 5. Right now it shows all of the posts :| below some code from my home.php file. Would really appreciate help with this. Thanks :D <!-- Begin List Posts ==================================...
by arikenko
Sun Jun 16, 2019 11:48 am
Forum: General
Topic: Have Blog Post Show Date?
Replies: 3
Views: 1968

Re: Have Blog Post Show Date?

What theme you are using ?

btw. If you go to settings>advanced you can make post to sort by date instead of position
by arikenko
Sat May 11, 2019 2:06 pm
Forum: General
Topic: Unlisted static page in menu
Replies: 1
Views: 1154

Unlisted static page in menu

Hello, how to make a page or a subpage unlisted in menu ? I have something like that in my topbar.php : <!-- Static pages --> <?php foreach ($staticContent as $staticPage): ?> <li class="nav-item <?php echo (($url->slug()==$staticPage->slug())?'active':'') ?>"> <a class="nav-link"...
by arikenko
Wed May 08, 2019 11:45 pm
Forum: General
Topic: Custom page listing only posts from one category
Replies: 4
Views: 3103

Re: Custom page listing only posts from one category

How can I edit the category / tag page ? It seems it's using the home.php and I need a different page for category A and different for category B The idea is to add some text about the category and below it the cards of each post/page from that category would be visible. Any ideas ? Cheers Ari :-)
by arikenko
Sun May 05, 2019 2:56 pm
Forum: General
Topic: Custom page listing only posts from one category
Replies: 4
Views: 3103

Custom page listing only posts from one category

Hello, I've used if ($WHERE_AM_I == 'page') { if ($page->slug() == 'news') { include(THEME_DIR_PHP.'news.php'); } else { include(THEME_DIR_PHP.'page.php'); } } else { include(THEME_DIR_PHP.'home.php'); } in my index.php and when I open "news" static page it takes the code from news.php My ...