Removing date from the default Twenty Ten theme

Discussion in 'WordPress' started by bob25, Nov 25, 2011.

  1. #1
    Anybody know which files and what to edit to remove the date from all the templates? Or anyone know of a plugin that works?

    Thanks
     
    bob25, Nov 25, 2011 IP
  2. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #2
    You can add this to the CSS file to remove the date posted entry under the headline:

    .entry-meta {display:none}

    Hope that helps :) - Scott
     
    AlohaThemes.com, Nov 29, 2011 IP
  3. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    That did it :)

    Thanks
     
    bob25, Nov 30, 2011 IP
  4. lamvt

    lamvt Active Member

    Messages:
    153
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Is this cant see it but not good, query still get database, and show it On.
    Need to open template file like:
    Home.php, single-page.php...
    in my website like that: htto://tinbaohiem.com/wp-content/themes/joomquery/single-page.php
    use Notepade ++ find code like that
    
    <div class="entry-meta">
                            <?php twentyten_posted_on(); ?>
                        </div>
    
    Code (markup):
    can find from
    
    <div class="entry-meta">
                            any content here like posted_on();?
                        </div>
    
    Code (markup):
    Remove it
    and save your File, clean cache and check your website again
     
    lamvt, Dec 6, 2011 IP