WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Deactivate post preview (10 posts)

  1. L-tic
    Member
    Posted 10 months ago #

    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

  2. esmi
    Forum Moderator
    Posted 10 months ago #

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

  3. L-tic
    Member
    Posted 10 months ago #

    The theme is called 'Ascetica' created by Galin Simeonov

  4. esmi
    Forum Moderator
    Posted 10 months ago #

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

  5. L-tic
    Member
    Posted 10 months ago #

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

  6. esmi
    Forum Moderator
    Posted 10 months ago #

    Customising your theme via a child theme.

  7. L-tic
    Member
    Posted 10 months ago #

    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.

  8. lettergrade
    Member
    Posted 10 months ago #

    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>

  9. L-tic
    Member
    Posted 10 months ago #

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

  10. lettergrade
    Member
    Posted 10 months ago #

    No problem. Good luck with it!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.