Okay
  Public Ticket #208196
Display Post Date on blog widget
Closed

Comments

  • Justin started the conversation

    Is there a CSS formatting you can apply to the blog post widget so that it displays the date the post was created as well? See the picture for reference to what I mean.

    It currently displays the date for the blog posts if you go to the actual blog page but it doesn't display on my home screen.

  •  8,427
    Tahir replied

    Hey Justin!

    You can use css to hide it not put it there. You will have to change the blog page template to add/remove or edit its meta details. 

    Thanks


    ThemeNectar Support Team 

  • Justin replied

    Where is the blog page template file located?

  •  8,427
    Tahir replied

    Hey Justin!

    Its in index.php. You can view it via Appearance -> Editor .

    Thanks


    ThemeNectar Support Team 

  • Justin replied

    Actually figured this one out on my own...I'll post the solution anyways for those who may have the same question in the future.

    You need to modify the shortcode-processing.php file located in /wordpressfolder/wp-content/themes/salient/nectar/tinymce/

    then find the section under 

    <div class="post-header"> <h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>  and add the code below to add the post date.

    <span class="meta-time"><?php the_time("F d, Y"); ?> </span>