I am very new to bludit and php, I am working on a version of the mediumish theme (https://github.com/bludit-themes/mediumish) and in home.php I would like to display only pages from one category.
Currently it displays the content of the site.
I think I should do something in this part of the file :
Code: Select all
<?php // Get the first and second page from the content $featured = array_slice($content, 0, 2); $content = array_slice($content, 2); foreach ($featured as $page): ?>
Here is the full code : https://github.com/bludit-themes/medium ... p/home.php
Thank you for your help !