• Resolved YBM

    (@ybmgryzzzgmailcom)


    Hi there

    This is a neat and flexible plugin. I found 2 or 3 other posts on this but no feedback? One thing I am a bit unsure of is how to display the date (and potentially categories/custom fields) of pages using the pagelist_ext shortcode? So instead of this:

    
    <strong>TITLE1</strong>
    Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 
    
    <strong>TITLE2</strong>
    Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 
    
    <strong>TITLE3</strong>
    Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3

    It should show this:

    <strong>TITLE1</strong>
    <em>Date </em>| <em>CustomField</em>
    Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 Excerpt 1 
    
    <strong>TITLE2</strong>
    <em>Date </em>| <em>CustomField</em>
    Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 Excerpt 2 
    
    <strong>TITLE3</strong>
    <em>Date </em>| <em>CustomField</em>
    Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3 Excerpt 3

    Thanks in advance

    • This topic was modified 8 years, 7 months ago by YBM.
    • This topic was modified 8 years, 7 months ago by YBM.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webvitalii

    (@webvitaly)

    Unfortunately it is not possible to do with the Page-List plugin.
    Sorry about that.

    Thread Starter YBM

    (@ybmgryzzzgmailcom)

    Hey webvitali,
    OK thanks man. Any plan to add it in a future release perhaps?
    Cheers

    Plugin Author webvitalii

    (@webvitaly)

    I am thinking about it but it will not be added in the nearest future.

    Thread Starter YBM

    (@ybmgryzzzgmailcom)

    OK thanks man.

    So for your info and for transparency to the community, I tested adding the below code in the page-list.php core file under line 339 for this plugin and it works fine. But i will look into rewriting it as a custom shortcode instead to avoid

    $text_content.=" | Posted in ".mysql2date('M Y',$page->post_date);

    Hope this helps anyone and you for future updates.

    Thanks and cheers

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘pagelist_ext with date’ is closed to new replies.