• Resolved CarrieRogers

    (@carrierogers)


    Hello,

    Similar to a previous post, I’d like to edit the post header to remove only the date and the little picture icon that I think indicates an image post, but keep the categories listed. Can you let me know which parts of the code to hide/remove to accomplish this?

    Many thanks,
    Carrie

Viewing 6 replies - 1 through 6 (of 6 total)
  • I removed this code from content-meta.php and it worked:

    ‘. $date_format . $post_format .’

    Not sure if that’s 100% correct tho.

    Theme Author GavickPro

    (@gavickpro)

    In the new version which is waiting for approval you will be able to do it from the theme customizer.

    Thread Starter CarrieRogers

    (@carrierogers)

    Thank you. I’ll try the php edit, or maybe just change the text color to white while waiting for the update.

    Do you have an ETA on the approvals for the update?

    Thread Starter CarrieRogers

    (@carrierogers)

    For others reading this, when I removed the code above from the content-meta.php, it removed all of the content from the post below the title.

    Instead, while waiting for the update, I edited the CSS. It’s not perfect, but it works well enough for what I was doing. Note that this removed the icon of the post type as well.

    Section 3.3 Entry Header.

    .entry-date {
    	color: #ffffff;
    	font-size: 0px;
    }

    You probably did not edit the code correctly. You should get ></time> after removing the code that was in-between.

    Theme Author GavickPro

    (@gavickpro)

    There is no ETA on the ww.wp.xz.cn repository – you can also find the latest version of the theme on the official github repository: https://github.com/GavickPro/Portfolio-Free-WordPress-Theme

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove just the date from post header’ is closed to new replies.