• Hi,

    I am currently designing my site and need a little assistance from any wordpress experts out there.

    I want to use the “latest posts” page for this theme for my front page but am also wanted to add in some images at the top of the page. To do this I can create a post (ive called it Mosaic) and then add in the images. My problem is that I now need to remove the date and title. I have overcome the title by deleting it from the post but I can’t get the date off. I want to keep the dates on all other posts and so don’t want to use a plugin.

    Any ideas???

    Here is my site.

    https://69.195.124.144/~kylatust/

    Thanks so much, Kyla

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=”https://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.