Help needed about displaying date and user
-
Hello, I’m tying to display date on the posts correctly. Here’s my code:
add_filter( 'wp_title', 'append_to_title', 10, 3 );
function append_to_title($title) {
$date = get_the_date();
return $title .= " | ".$date;
}The code above displays both date and publisher name. When I click a date at fronted it doesn’t display related articles. It only reloads the page.
How can I make it display all posts which were published at specified date, without breaking author link?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Help needed about displaying date and user’ is closed to new replies.