• I am getting ready to put a child theme in place (newbie!). My desire is to remove the date from blog posts. Right now, I am temporarily achieving this through commenting the php lines of code out in a file called blog_templates.php. What would be the steps to achieve this in a child theme template?

    Here is the code:
    //<time datetime=”<?php// echo date_i18n(‘Y-m-d’,strtotime(get_the_date()));?>”><?php// echo date_i18n(‘M’,strtotime(get_the_date()));?><small><?php// echo date_i18n(‘j’,strtotime(get_the_date()));?></small> </time>Comment out this code in blog_templates.php

    Also, when I have need to implement a child template file, do I create all the folders to follow the same path matching where the parent file is? For example if the file is found in the parent file such as child-theme/blog-styles/blog_templates.php would I match that for the child file by creating those folders?

    Many thanks in advance.

  • The topic ‘child theme – commenting out un-needed lines from parent theme’ is closed to new replies.