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

    (@kylatustin)

    PS. Am also hoping to be able to remove the bottom post information as well.

    “Posted by kylatustin & filed under Uncategorized. This post has no comments yet.” and the social media links.

    thanks

    See if this CSS hides those items:

    #post-131 .date-header,
    #post-131 .post-signature,
    #post-131 .byline,
    #post-131 .share-buttons {
       display: none;
    }

    Thread Starter kylatustin

    (@kylatustin)

    Hi there … thanks so much for your help and apologies for the delay I have been in bed sick for the last week. I have tried playing around with my single post php and cant get this to work. could you give me a bit more instruction of where to paste these in each section e.g. for the header …. <header class=”page-header”> where should I paste #post-131 .date-header, {
    display: none;
    }

    thanks I have never used CSS before. here is my full page css. appreciate your help Kyla

    <?php
    /*
    * Show a blog post
    */
    ?>
    <?php get_header(); ?>

    <div class=”row”>

    <?php if ( SIDEBAR_POSITION == ‘left’ ) : ?>

    <?php get_sidebar(); ?>

    <?php endif; ?>

    <div id=”main” class=”<?php echo MAIN_WIDTH; ?>” role=”main”>

    <?php get_template_part( ‘nav’, ‘breadcrumbs’ ); ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> role=”article” itemscope itemtype=”http://schema.org/BlogPosting”&gt;

    <header class=”page-header”>

    <div class=”date-header”>

    <?php the_pub_date(); ?>

    </div>

    <h1 itemprop=”headline”><?php the_title(); ?></h1>

    </header> <!– end article header –>

    <section class=”entry-content” itemprop=”articleBody”>

    <?php the_content(); ?>

    <?php the_signature(); ?>

    <?php the_byline(); ?>

    <?php if ( get_option( ‘webpm_sharing_show_buttons’, 1 ) ) : ?>

    <?php the_share_buttons(); ?>

    <?php endif; ?>

    </section> <!– end article section –>

    <footer class=”article-footer”>

    <?php the_tags(‘<p class=”tags”><span class=”tags-title”>’ . __(‘Tags:’, ‘webpm’) . ‘</span> ‘, ‘, ‘, ‘</p>’); ?>

    </footer> <!– end article footer –>

    <?php comments_template(); ?>

    </article> <!– end article –>

    <?php endwhile; endif; ?>

    </div> <!– end main –>

    <?php if ( SIDEBAR_POSITION == ‘right’ ) : ?>

    <?php get_sidebar(); ?>

    <?php endif; ?>

    </div> <!– end .row –>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Title and Date from one blog post’ is closed to new replies.