The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Display Posts Shortcode
[resolved] Date display problem in the first line of the list (2 posts)

  1. GwenT
    Posted 2 years ago #


    I have a date display problem when i use this shortcode :

    [display-posts orderby="date" include_date="true" date_format="- j F Y"]

    In the first line of the list, the day of the month is stuck to the post title.

    Otherwise I would like to know if it was possible to switch the date by post title ?

    Thank you in advance.

    Best Regards.



  2. Bill Erickson
    Plugin Author

    Posted 2 years ago #

    I recommend you use CSS to style the date.

    This adds 10px padding to either side:
    .display-posts-listing .date { padding: 0 10px; }

    This displays the date on its own line:
    .display-posts-listing .date { display: block; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.