How to remove enrty-title for only single post?

Hello.

I am using is code:

.single-post .entry-header {
display: none !important;
}

but this way it looks empty

< header class=“entry-header”>< /header >

I want to remove this place completely.

How can i do?

Merhaba!

Since you already have the child theme enabled, login through FTP and go to wp-content/themes/x-child then create the file path: framework/views/renew then create the file content.php

<?php

// =============================================================================
// VIEWS/RENEW/CONTENT.PHP
// -----------------------------------------------------------------------------
// Standard post output for Renew.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <?php if ( has_post_thumbnail() ) : ?>
      <div class="entry-featured">
        <?php x_featured_image(); ?>
      </div>
    <?php endif; ?>
    <?php x_get_view( 'global', '_content' ); ?>
  </div>
</article>

Hope this helps.

Hello @Jade

if I do this way, deleting titles on the blog homepage. (blog homepage post title have H2 tag in entry-header > entry-title)

i want just remove entry-header > entry-title for single posts.

i use code for content.php:

<?php // ============================================================================= // VIEWS/RENEW/CONTENT.PHP // ----------------------------------------------------------------------------- // Standard post output for Renew. // ============================================================================= ?> >
<?php x_get_view( 'renew', '_content', 'post-header' ); ?> <?php if ( has_post_thumbnail() ) : ?>
<?php x_featured_image(); ?>
<?php endif; ?> <?php x_renew_entry_meta(); ?> <?php x_get_view( 'global', '_content' ); ?>

Hey @Jade i fix it this problem.

I want to ask another question.

How can i remove “x-landmark” for only blog homepage? for Renew.

Hi there,

Please refer to the other thread you have posted:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.