Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello lef_DR

    Have you found an answer to your question.. ?

    Thread Starter Ief_DR

    (@ief_dr)

    nope.

    Hi there,

    This will be available in next release, but not with predefined format – only with templated output (you can set template in Widget settings or as content of shortcode.

    Example here.

    If anyone wish to try beta version, please ping me.

    Cheers

    Hi there, 
    
    I've managed it. 
    
    After extracting post title just add this if you want it to be after a line break (adjust to your own needs) 
    
    //extract meta data : author name / date of publication
    					$ppc_author = $post->post_author; // extracting author of post
    					$ppc_postdate = $post->post_date; // post date
    					$ppc_author_first_name = get_the_author_meta( user_firstname, $ppc_author ); //first name through ID
    					$ppc_author_last_name = get_the_author_meta( user_lastname, $ppc_author );// last name through ID
    
    					$ppc_str .= '<p class="meta-info">'.By.'&nbsp;'.$ppc_author_first_name.'&nbsp;'.$ppc_author_last_name.'&nbsp;'.'&mdash;'. mysql2date('F jS, Y', $ppc_postdate) .'</p>';

    This outputs author name in a nice way + date

    Don’t thank me..

    Thank you urkekg for getting me to write php – never done it before ??

    Sorry for incorrect placement of code quotes..

    code starts at ” //extract ” obviously

    And now in latest versions (since 1.4.0) we have custom templates so you can use datetime, date, time, author name and other handy macro words to include various information to your custom HTML syntax/output.

    Check out end of description tab.

    Cheers,
    Aleksandar

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘date’ is closed to new replies.