• mad.max

    (@madmax-1)


    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 –>

Viewing 1 replies (of 1 total)
  • WPyogi

    (@wpyogi)

    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.

Viewing 1 replies (of 1 total)

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