WordPress.org

Support

Support » Themes and Templates » [Resolved] Only display title on post links

[Resolved] Only display title on post links

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Caroline Moore

    @sixhours

    Following the first part of the instructions in that forum — create a child theme and copy content-home.php from the parent theme into your child theme — then replace this piece of line 42:

    <?php echo $thumb; ?>

    With something like this:

    <span class="no-thumbnail"><?php the_title(); ?></span>

    Then you can remove the code in lines 7 – 38.

    This works to display just the title but I lose the circle – the title is displayed in the top left of the circle space with no design. Any ideas?

    Thanks for your help!

    Theme Author Caroline Moore

    @sixhours

    Can you post a URL?

    Theme Author Caroline Moore

    @sixhours

    Ah, in the part of your child theme’s content-home.php that looks like this:

    <?php post_class( $postclass ); ?>

    Change $postclass to 'no-thumbnail' (include the single quotes).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Only display title on post links’ is closed to new replies.