Remove Section of Code
-
Greetings and thank you for considering to answer my request for help. I am looking to remove the page tile from the blog (but not the menu bar), and the “Posted on May 18, 2012 by admin—No Comments ↓” part too.
Below is the code in my themes index.php file (pretty sure this has what you need to help #crossesfingers).
Thanks in advance for the assistance!
<?php get_header(); ?>
<div id=”content” class=”grid col-620″>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<h1>” rel=”bookmark” title=”<?php printf(__(‘Permanent Link to %s’, ‘responsive’), the_title_attribute(‘echo=0’)); ?>”><?php the_title(); ?></h1><div class=”post-meta”>
<?php
printf( __( ‘<span class=”%1$s”>Posted on</span> %2$s by %3$s’, ‘responsive’ ),’meta-prep meta-prep-author’,
sprintf( ‘%3$s‘,
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( ‘<span class=”author vcard”>%3$s</span>’,
get_author_posts_url( get_the_author_meta( ‘ID’ ) ),
sprintf( esc_attr__( ‘View all posts by %s’, ‘responsive’ ), get_the_author() ),
get_the_author()
)
);
?>
<?php if ( comments_open() ) : ?>
<span class=”comments-link”>
<span class=”mdash”>—</span>
<?php comments_popup_link(__(‘No Comments ↓’, ‘responsive’), __(‘1 Comment ↓’, ‘responsive’), __(‘% Comments ↓’, ‘responsive’)); ?>
</span>
<?php endif; ?>
</div><!– end of .post-meta –>
The topic ‘Remove Section of Code’ is closed to new replies.