Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter csmarie

    (@csmarie)

    I believe I found the relevant section in content-single.php:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    	<header class="entry-header">
    
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    
    		<div class="entry-meta">
    
    			<?php zerif_posted_on(); ?>
    
    		</div><!-- .entry-meta -->
    
    	</header><!-- .entry-header -->
    

    I’d like to be able to either A) specify which pages to leave the entry header out of or B) leave it off all pages and only have it appear for posts. Is that possible?

    Thread Starter csmarie

    (@csmarie)

    Thanks, Steve. It looks like that would address the problem but I’m not versed in conditional CSS. Would I put that in Custom CSS or directly edit certain php files in the Child Theme? Could you explain what you mean by “then that code?” Thank you!

    Thread Starter csmarie

    (@csmarie)

    No, not resolved yet (cute cat!). The date doesn’t appear on that page visually, but it’s in the source code:

    <header class="entry-header">
    
    		<span class="date updated published">September 29, 2016</span>
    		<span class="vcard author byline"><a href="https://www.constancematic.com/author/admin/" class="fn">admin</a></span>
    
    		<h1 class="entry-title" itemprop="headline">Content Writing Services I Website Copywriting</h1>
    	</header>

    Search engine bots are picking it up and displaying it on search engine results pages before the page description.

Viewing 3 replies - 1 through 3 (of 3 total)