Andy theme : How to remove date and reading time from sticky and static pages?

Post Reply
User avatar
jeronath
Sr. Bludit
Posts: 37
Joined: Tue Apr 26, 2022 11:54 am
Location: Paris
Has thanked: 3 times
Been thanked: 4 times
Contact:

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:

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> -->
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.
Post Reply