Support » Fixing WordPress » Deactivate post preview

  • Resolved L-tic

    (@l-tic)


    Hello everyone,

    is there a way to deactivate the preview of the posts?
    So that the homescreen only shows the name of an article.

    Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    (@esmi)

    Forum Moderator

    What theme are you using? Where did you download it from?

    The theme is called ‘Ascetica‘ created by Galin Simeonov

    esmi

    (@esmi)

    Forum Moderator

    I suggest you try contacting the theme’s developer. We only support themes downloaded from wordpress.org here.

    And what’s the usual way to fix the problem?

    esmi

    (@esmi)

    Forum Moderator

    Customising your theme via a child theme.

    Ok. Is there no way you can help me anyway? Because a child theme was already integrated.
    Just a few tips which lines I need to edit or something.

    Hard to say without seeing the theme structure or the website you’re talking about, but in general: you would find the template file that is controlling the view you want (home.php or index.php) and copy its contents into a home.php file in your child theme.

    Here’s some info on how that works: Template Hierarchy, home.php

    Then, remove either the_content() or the_excerpt() and any other meta tags that might be in the code and displaying post information. All you want to leave behind is the linked title, which probably looks something like this:

    <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>

    Thanks man, that helped me a lot! Hope I can fix that now.

    No problem. Good luck with it!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Deactivate post preview’ is closed to new replies.