WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. GwenT
    Member
    Posted 5 months ago #

    Hi,

    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.

    Gwen

    http://wordpress.org/plugins/display-posts-shortcode/

  2. Bill Erickson
    Member
    Plugin Author

    Posted 5 months 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; }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.