• Resolved gerdw

    (@gerdw)


    Hi Forum!

    I like that Theme (koji) very much.

    Is it possible to add some teaser Text to the Grid-Tiles on the front page? I would like to have the feature image, the title and 1-3 lines of the article text.

    I am brand new to wordpress so excuse me if i do not see something obvious ??

    Yours,
    gerd.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gerdw

    (@gerdw)

    OK, I got it myself.
    I added

    <p>
       <?php the_excerpt(); ?>
    </p>

    in the file preview.php after the line
    koji_the_post_meta( $post->ID, 'preview' ); ?>

    Yours, Gerd

    Theme Author Anders Norén

    (@anlino)

    Hi @gerdw,

    Keep in mind that if you make those changes directly to the preview.php file, the changes will be overwritten the next time Koji is updated. If you want the changes to persist, you’ll need to create a child theme, copy the preview.php file to it and make the changes there.

    — Anders

    Thread Starter gerdw

    (@gerdw)

    Thanks for the hint, i have done so.
    Gerd

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Teaser Text on Front page’ is closed to new replies.