Search found 4 matches

by arikenko
Sun Jun 16, 2019 11:48 am
Forum: General
Topic: Have Blog Post Show Date?
Replies: 3
Views: 135

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: 132

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" href="<?php echo $...
by arikenko
Wed May 08, 2019 11:45 pm
Forum: General
Topic: Custom page listing only posts from one category
Replies: 4
Views: 307

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: 307

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 news.php i...