Title: Changing Post Metadata
Last modified: August 22, 2016

---

# Changing Post Metadata

 *  Resolved [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/)
 * I am new to WordPress and the Raindrops theme. I have searched for ways to change
   the metadata displayed for each post but this seems to be hidden in different
   places in different themes. I would like to remove some of the information from
   the default set of data displayed under the title of each post, currently “Posted
   on Date Time By”. How do I do this in Raindrops?
 * I would also like to be able to change font size and possibly move to a different
   position.
 * [http://www.herburbia.co.uk](http://www.herburbia.co.uk)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/changing-post-metadata/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/changing-post-metadata/page/2/?output_format=md)

 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717574)
 * Hi ruth.hopper
 * > I would like to remove some of the information
 * Please be as specific description
 * Thank you.
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717711)
 * Remove Posted on, Time and By – so that it is just the date which is displayed
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717715)
 * I recommend use child theme for customize.
 * reason: For customization, not lost in updates
 * see:
 * [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 * ( note: Not needs [@import](https://wordpress.org/support/users/import/) rule
   at style.css )
 * simple child theme example
 * [http://tenman.info/download/child-raindrops.zip](http://tenman.info/download/child-raindrops.zip)
 * or using boots
 * [https://wordpress.org/themes/boots](https://wordpress.org/themes/boots)
 * Please add child theme style.css
 *     ```
       article .posted-on .meta-prep + a,          /* home publish time */
       article .posted-on .meta-prep,              /* home posted on */
       article .posted-on .meta-sep,               /* home by */
       article .entry-meta-default .meta-sep,      /* single by */
       article .entry-meta-default .meta-prep,     /* single posted on */
       article .entry-meta-default .meta-prep + a{ /* single publish time */
           display: none;
       }
       /* if you need publisher hide
       article .posted-on .author,
       article .entry-meta-default .author{ display:none;}
       */
       ```
   
 * Thank you.
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717735)
 * Thanks – that works
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717782)
 * How do I change the font size of the post metadata?
    How do I display the date
   but not the time? How do I move the Comment link from the metadata line and put
   it at the bottom of the post?
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717785)
 * > How do I change the font size of the post metadata?
 * for example
 * add style.css bottom.
 *     ```
       /* if you need publisher hide*/
       article .posted-on .author,
       article .entry-meta-default .author{
       /* font size
       10px = 77%     11px = 85%     12px = 93%     13px = 100%
       14px = 108%    15px = 116%    16px = 123.1%  17px = 131%
       18px = 138.5%  19px = 146.5%  20px = 153.9%  21px = 161.6%
       22px = 167%    23px = 174%    24px = 182%    25px = 189%
       26px = 197%
       */
           font-size:153.9%;
       }
       ```
   
 * > How do I display the date but not the time?
 *  dashboard / Settings / General
 *  please config Time format
 *  select custom value blank
 * > How do I move the Comment link from the metadata line and put it at the bottom
   > of the post?
 * **If you did not write this code correctly, a serious error occurs.**
    It is 
   assumed that there is an understanding of PHP
 * add functions.php top (`<?php` before )
 *     ```
       <?php
       add_filter( 'raindrops_posted_in', 'function_name' );
   
       function function_name( $return_value ) {
   
       	return $return_value . raindrops_comments_link();
       }
   
       add_filter( 'raindrops_posted_on', 'function_name2' );
   
       function function_name2( $return_value ) {
   
       	return str_replace( raindrops_comments_link(), '', $return_value );
       }
   
       ?>
       ```
   
 * change result like below
 *     ```
       <?php
       add_filter( 'raindrops_posted_in', 'function_name' );
   
       function function_name( $return_value ) {
   
       	return $return_value . raindrops_comments_link();
       }
   
       add_filter( 'raindrops_posted_on', 'function_name2' );
   
       function function_name2( $return_value ) {
   
       	return str_replace( raindrops_comments_link(), '', $return_value );
       }
   
       ?><?php
       /**
        * functions and constants for Raindrops theme
        *
        *
        * @package Raindrops
        * @since Raindrops 0.1
        */
       if ( !defined( 'ABSPATH' ) ) {
   
       	exit;
       }
       ```
   
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717835)
 * Thanks
    What do I do if I want to remove the Comment link completely?
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717837)
 * remove below
 *     ```
       add_filter( 'raindrops_posted_in', 'function_name' );
   
       function function_name( $return_value ) {
   
       	return $return_value . raindrops_comments_link();
       }
       ```
   
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717838)
 * Sorry, I don’t understand your replies!
    I don’t want to edit the Raindrops theme,
   I want to put something in my child theme, so I can’t just delete something. 
   The Comment link currently appears next to the Post title on every post. I want
   to remove this link on both the Home page and the individual post.
 * Second point: the Leave a reply box appears at the bottom of individual post;
   I would like to remove this but have the Comment link in its place so that the
   Leave a reply box is only then displayed
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717843)
 * It means that you delete from the code that previous post.
 * From theme, it does not mean you want to delete the code directly
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717846)
 * Thank you – that worked.
 * Can you help me with the other point: the Leave a reply box appears at the bottom
   of individual post; I would like to remove this but have the Comment link in 
   its place so that the Leave a reply box is only then displayed
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717848)
 * > I would like to remove this but have the Comment link in its place so that 
   > the Leave a reply box is only then displayed
 * Nice Idea!
 * Please try below style
 * Add style.css bottom
 *     ```
       #comments #reply-title,
        #comments form{
           display:none;
       }
       #comments:target #reply-title,
        #comments:target form{
           display:block;
       }
       ```
   
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717856)
 * This removed the Leave a reply box but did not insert the Comment link…
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717857)
 * try below
 *     ```
       add_action( 'after_setup_theme', 'my_extend_comments' );
   
       function my_extend_comments() {
       	add_filter( 'raindrops_posted_on', 'function_name2' );
       	add_filter( 'raindrops_posted_in', 'function_name' );
       }
   
       function function_name( $return_value ) {
   
       	return $return_value . raindrops_comments_link();
       }
   
       function function_name2( $return_value ) {
   
       	return str_replace( raindrops_comments_link(), '', $return_value );
       }
       ```
   
 *  Thread Starter [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * (@ruthhopper)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/#post-5717860)
 * Excellent – that works on the Home page and in the Category view.
 * However, if I go onto the individual post itself, the Leave a Reply box is still
   displayed as well as the Comment link – any way of not displaying this box until
   you click on the Comment link?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/changing-post-metadata/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/changing-post-metadata/page/2/?output_format=md)

The topic ‘Changing Post Metadata’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/raindrops/1.700/screenshot.png)
 * raindrops
 * [Support Threads](https://wordpress.org/support/theme/raindrops/)
 * [Active Topics](https://wordpress.org/support/theme/raindrops/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/raindrops/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/raindrops/reviews/)

## Tags

 * [post metadata](https://wordpress.org/support/topic-tag/post-metadata/)

 * 17 replies
 * 2 participants
 * Last reply from: [ruth.hopper](https://wordpress.org/support/users/ruthhopper/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/changing-post-metadata/page/2/#post-5717869)
 * Status: resolved