Andy theme : How to remove date and reading time from sticky and static pages?
Posted: Mon Jul 25, 2022 5:25 pm
Hello to all,
I'm asking for your help again as my knowledge of php is limited and I have no time to study this language seriously.
I am using the andy template (https://github.com/elpak/bludit-themes) for a personal website that I am developing. I tried to change the php code without success to get the following result: I would like to hide the creation date and the reading time on the sticky pages and on the static pages.
Apparently I would have to change the code that is in the home.php page, lines 39 to 45:
but I can't find the solution.
I'm only really good at writing, finding the right pictures and integrating everything...
If anyone can help me... Thanks in advance.
I'm asking for your help again as my knowledge of php is limited and I have no time to study this language seriously.
I am using the andy template (https://github.com/elpak/bludit-themes) for a personal website that I am developing. I tried to change the php code without success to get the following result: I would like to hide the creation date and the reading time on the sticky pages and on the static pages.
Apparently I would have to change the code that is in the home.php page, lines 39 to 45:
Code: Select all
<!-- Creation date
<div class="entry-meta">
<span class="posted-on">
<time class="entry-date published" itemprop="datePublished">
<?php echo $page->date(); ?> </time> - <?php echo $L->get('Reading time') . ': ' . $page->readingTime() ?>
</span>
</div> -->
I'm only really good at writing, finding the right pictures and integrating everything...
If anyone can help me... Thanks in advance.