• Resolved demoversi

    (@demoversi)


    Hello. Really enjoying this plugin; it’s doing exactly what I need it to, for the most part.

    The only problem I’m running into is trying to remove the metadata from my excerpts…and it’s only the excerpts generated with this plugin. I’ve managed to hide them everywhere else, by having

    .entry-meta {
    display: none;
    }

    in my style.css in my child theme, but I can’t get Posts in Page to listen to that. For comparison, the main page of my website, https://theirreverencia.com, is displaying excerpts with no tags or author, but the page with posts on it https://theirreverencia.com/audio/furuba/ is just covered in tags.

    How can I best make this metadata vansih?

    https://www.ads-software.com/extend/plugins/posts-in-page/

Viewing 1 replies (of 1 total)
  • Plugin Author ivycat

    (@ivycat)

    Hello demoversi,

    The easiest way to do this is to copy your posts_loop_template.php file into your theme directory and edit it how you want. In this case, to remove the meta-data just delete lines 14-33, or this bit:

    <!-- This is the output of the meta information -->
    	<div class="entry-utility">
    		<?php if ( count( get_the_category() ) ) : ?>
    			<span class="cat-links">
    				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
    			</span>
    			<span class="meta-sep">|</span>
    		<?php endif; ?>
    		<?php
    			$tags_list = get_the_tag_list( '', ', ' );
    			if ( $tags_list ):
    		?>
    			<span class="tag-links">
    				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
    			</span>
    			<span class="meta-sep">|</span>
    		<?php endif; ?>
    		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    		<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    	</div>

    Or if you just wanted to remove the tag section itself, lines 26-28.

Viewing 1 replies (of 1 total)
  • The topic ‘Difficulty hiding metadata in excerpts when using plugin’ is closed to new replies.