News CPT
date in news list (7 posts)

  1. drksecret
    Posted 1 year ago #


    Would it be possible to show the date in the newslist generated by the shortcode?

    The /news url does not work for me since the formatting is completely out.


  2. vanjwilson
    Plugin Author

    Posted 1 year ago #

    Hi drksecret,

    Thanks for trying the plugin.

    I would be glad to take a look at adding this feature for you. I'll try to have an update pushed to the plugin repo this weekend.

    (While it is possible to merge your theme's page template with the plugin's news loop, it requires some detailed knowledge of PHP and WordPress template practices. I based the default news templates on one of the old Twenty-something themes, and I've found that the default doesn't work for a lot of other themes, unfortunately.)

  3. drksecret
    Posted 1 year ago #


  4. drksecret
    Posted 1 year ago #

    The newslist is great, the news item itself has the same issues:
    see here: http://dev.caprillicoaching.nl/wordpress/news/film-over-caprilli-coaching-via-blik-op-werk/

    I do not want to go and fiddle with templates, since i Have no idea how that works.

  5. vanjwilson
    Plugin Author

    Posted 1 year ago #


    I have updated the plugin to version 1.1.1. This adds show_date and date_format options to the list-date-items shortcode.

    I put more info on how to use those options in the FAQ: https://wordpress.org/plugins/news-cpt/faq/

  6. vanjwilson
    Plugin Author

    Posted 1 year ago #


    I had a look at your single news item page, and I see a quick way you could format it with CSS:

    add the following CSS rule to your theme:

    .single .type-news {
        clear: both;
        margin: 0 auto;
        padding: 0;
        position: relative;
        width: 960px;

    If you can't, or would rather not, modify the theme CSS file directly, you could use a plugin, including the CSS editor module that comes with the Jetpack plugin: http://wordpress.org/plugins/jetpack/

    I hope this helps.

  7. drksecret
    Posted 1 year ago #

    Awesome, what a quick response. The news item looks so much better now, apart from the previous and next links...
    The date added to the list works really well too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • News CPT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic