• I would like to hide the titles of my posts on the static front page of my website while keeping the titles on the permalink pages of the posts. Is this possible?

    Or to put it differently, I want the front page of my website to have nothing but a grid of images. But I want the titles to be visible when I click on the posts.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • If you go into content.php file in the latest version of this theme (latest version is 1.12) go to code line number 19 and remove this code:

    <h2 class=”post-title”>” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?></h2>

    Save the file and and the post titles will be gone from your blog’s front page.

    If you also want to remove the first part of your blog post text below it, meaning the post excerpt, then also remove code line number 27 which contains the following code:

    <?php the_excerpt(); ?>

    Save the file and and the post excerpts will be gone from your blog’s front page.

    If you remove both those lines of code then you will be left with just a grid of thumbnails on your front page with no titles and no post excerpts.

    The only problem is, if you make these edits, you will lose them if the theme is updated again by Anders. But you can always make the change again to the theme code after it updates. The code line number where the code is located could change though after a theme update.

    Hope that helps.

    • This reply was modified 6 years, 11 months ago by Jixxer.
    • This reply was modified 6 years, 11 months ago by Jixxer.
Viewing 1 replies (of 1 total)
  • The topic ‘Removing post titles from static front page’ is closed to new replies.