Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Post Date Format Alignment

Home / Forums / Virtue Theme / Post Date Format Alignment

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
April 10, 2016 at 7:09 pm

Hi,
I’ve edited the php file in my child theme so that the date format of my posts reads as April 11, 2016 (rather than in the box).

I’m new to php though. Could you please just let me know what I can add below to align it all centre so it is above my post title? Also, could you give me the php to replace to make all my post titles centred?

Thank you!

<div class="postmeta updated color_gray">
<div class="postdate bg-transparent headerfont" itemprop="datePublished">
<?php echo get_the_date();?>

</div>
</div>

  • The forum ‘Virtue Theme’ is closed to new topics and replies.