Hi. Thanks for this brilliant plugin: it makes providing a backstory for your posts a breeze.
I’d like to display the related posts with title and date. I know that can be done with the API, but I’m quite new to WP, no knowledge of PHP (finding out stuff as I move forward), and failed miserably trying to write code for that.
I thought it would be something like:
<?php $my_related_posts = MRP_get_related_posts( $post->ID, true ); $related_post_date = $my_related_posts->post_date; echo $related_post_date; ?>
But it’s not working, probably due to my utter ignorance of PHP syntax.
Could someone tell me how to get the post date and display it? Thanks!
- The topic ‘[Plugin: Related Posts for WordPress] Displaying post date? For dummies please’ is closed to new replies.