WordPress.org

Forums

ColorWay
remove Post Title in colorway (2 posts)

  1. niyazadvt
    Member
    Posted 1 year ago #

    how to remove Title Post, Authors name, Posted on Date and Time and Category section in colorway theme?

  2. MartinGBEdwards
    Member
    Posted 1 year ago #

    If you haven't already done so you will need to create a Child Theme.
    Copy the file called blog.php from the parent theme to your child theme folder. Then edit it with a plain text editor.
    Find the following section at about line 36 :

    <?php
       printf( _x('Posted on %1$s by %2$s in %3$s.', 'Time, Author, Category', 'colorway'), get_the_time(get_option('date_format')), get_the_author(), get_the_category_list(', ')
                                    );
    ?>

    You need to comment out the printf function by putting /* before it and */ at the end
    To get this

    /* printf( _x('Posted on %1$s by %2$s in %3$s.', 'Time, Author, Category', 'colorway'), get_the_time(get_option('date_format')), get_the_author(), get_the_category_list(', ')
     ); */

    Save the file and this should do the job.
    Let me know how it goes!

    Martin

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.