Changelog Website Notes

by | Jun 23, 2022 | Divi

flexbox

References

Asked for Help With

I am creating a ‘change request log’ to keep a record of development changes.

1. FORM
1.1. I already created the form: https://tsg-log.techdocs.online/new-change-request/
1.2 When the form is submitted it automatically creates a post e.g. https://tsg-log.techdocs.online/change-request-example-1-2/

2. CUSTOM FIELDS
2.1. I am using “Advanced Custom Fields” plugin
2.2. I have already added the custom fields to the child theme  https://tsg-log.techdocs.online/change-request-example-1-2/
2.3 TASK I need the date on the post to show the correct format D/M/YYYY

3. ALL POSTS
3.1 I need a page displaying a paginated list of all posts. This should show rows containing the following information: title, creation date, change number, priority, status, date required by
3.2 Add pagination
3.3 I would like to know how you did 3.1. so please provide some screenshots

Notes from Shantanu

1> To change the date format i have added following lines on Divi-Child/single.php

<p><strong>Date Required By: </strong><?php echo date(“d M Y”,strtotime(get_post_meta($post->ID, ‘CL_requiredBy’, true))); ?></p>

2> To print the custom fields on all post page i have added following code on Divi-Child/index.php

<h2 class=”entry-title”><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></h2>

index changes

3> To add pagination i installed one plugin named Pagination by BestWebSoft

4> Apart from the above, i had to create the ‘blog’ page and assign it as default blog page