Is it possible to remove the dates from the 20-10 theme blog posts?

by Banned 15 replies
18
My favorite theme to use is the plane-jane 20-10 theme. Does it allow me to remove blog post dates?




Thanks,
JD
#website design #2010 #blog #dates #posts #remove #theme
  • If you're using Wordpress, then there are plug-ins that are made for that purpose.
    • [ 1 ] Thanks
    • [ 1 ] Thanks
    • [1] reply
    • Banned
      Istvan,

      From the link you provided, here is the code: Is the text red what I should delete?

      if ( ! function_exists( 'twentyten_posted_on' ) ) :
      /**
      *
      *
      *
      */
      function twentyten_posted_on() {
  • [DELETED]
    • [ 1 ] Thanks
    • [1] reply
    • People that are clueless about WP and the 2010 theme... why are posting misleading advice??
      Show me the "date code" below!

      Code:
      <?php
      /**
       * The Template for displaying all single posts.
       *
       * @package WordPress
       * @subpackage Twenty_Ten
       * @since Twenty Ten 1.0
       */
      
      get_header(); ?>
      
      		<div id="container">
      			<div id="content" role="main">
      
      			<?php
      			/* Run the loop to output the post.
      			 * If you want to overload this in a child theme then include a file
      			 * called loop-single.php and that will be used instead.
      			 */
      			get_template_part( 'loop', 'single' );
      			?>
      
      			</div><!-- #content -->
      		</div><!-- #container -->
      
      <?php get_sidebar(); ?>
      <?php get_footer(); ?>
  • Banned
    Thanks everyone.
  • Banned
    [DELETED]
  • [DELETED]
  • Can you give me the link to your website i can give you the code which you can use to remove the dates and add it back whenever you require.
    • [2] replies
  • 1) Go to "Appearance > Editor" and open the file "loop-single.php" from the right sidebar listing of files.

    2) Scroll down a bit until you find this code branch:

    Code:
    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->
    3) Place two forward slashes in front of the 2nd line like so:

    Code:
    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->
    4) Save the file
    • [ 1 ] Thanks

Next Topics on Trending Feed