Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1472204
Delete date in blog post title
Closed

Comments

  • HalloDeutsch started the conversation

    Dear Codex Themes-Team!

    How can I delete the date in the title of a blog post ?

    What settings do I have to change?

    I attached a picture of what I want to delete.

    Thank you in advance


  •  7,092
    Oliver replied

    Hi, 

    You need to edit:

    /wp-content/themes/thegem/content-blog-item.php

    line 72

    Add this:

    <?php the_title('<'.(is_sticky() && !is_paged() ? 'h2' : 'h3').' class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark"><span class="light">', '</span></a></'.(is_sticky() && !is_paged() ? 'h2' : 'h3').'>'); ?>
    

    Excerpt the old line

    Before the editing copy this file to the child theme for the safety feature updates. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver