Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cyberlp23

    (@cyberlp23)

    I found out the solution myself, in case anybody is interested:)

    I just added this filter to functions.php and added {la_date} to the template:

    add_filter('sf_post', 'sf_replace_custom_values', 1, 10);
    function sf_replace_custom_values($post) {
    $format = 'd/m/Y';
    $pfx_date = get_the_date( $format, $post->ID );
    $post->la_date = $pfx_date;
    return $post;
    }
    Plugin Author Naji Amer

    (@n-for-all)

    you can also go to wordpress-> settings->general and change the datetime format

    Thread Starter cyberlp23

    (@cyberlp23)

    Well no, because I want to display it in a custom way, different from the date_format used elsewhere in the blog.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change date format "Posted by"’ is closed to new replies.