• Resolved macadali

    (@macadali)


    Hi – great looking theme. Can you please show me the code to remove (and from where) so that the date stamp is removed from posts on all pages.

    Many thanks

Viewing 1 replies (of 1 total)
  • Theme Author Mayeenul Islam

    (@wzislam)

    To remove datestamp, find <span class="entry-date"> in:
    single.php,
    page.php,
    archive.php,
    attachment.php,
    author.php,
    blog-template.php,
    category.php,
    index.php,
    search.php, and
    tag.php

    So you will get the code for date & time with a default permalink to the post. In those:
    <?php the_time( get_option( 'date_format' ) ); ?>
    shows the date.

    You can delete the entire <span class="entry-date"></span> to remove the date.

    But
    WARNING: The date contains the default permalink to a post. If you have any post without title, your user won’t get to the post-details without the link.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove date and time stamp’ is closed to new replies.