Title: Remove Section of Code
Last modified: August 20, 2016

---

# Remove Section of Code

 *  [mad.max](https://wordpress.org/support/users/madmax-1/)
 * (@madmax-1)
 * [14 years ago](https://wordpress.org/support/topic/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](https://wordpress.org/support/topic/remove-section-of-code/%1$s?output_format=md)‘,
   get_permalink(), esc_attr( get_the_time() ), get_the_date() ), sprintf( ‘<span
   class=”author vcard”>[%3$s](https://wordpress.org/support/topic/remove-section-of-code/%1$s?output_format=md)
   </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 –>

Viewing 1 replies (of 1 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [14 years ago](https://wordpress.org/support/topic/remove-section-of-code/#post-2760777)
 * You don’t need to change the code — you can hide that line using CSS “display:
   none” applied to the class or id of that element. If you need specific help doing
   that, you’ll need to post a link to your site.
 * Also, for future posts of code, please see [posting code](http://codex.wordpress.org/Forum_Welcome#Posting_Code).

Viewing 1 replies (of 1 total)

The topic ‘Remove Section of Code’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [date](https://wordpress.org/support/topic-tag/date/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/remove-section-of-code/#post-2760777)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
