Archived topic
author, date and comments
5 replies · Started by Anderson Ojope on December 19, 2016
Hello!
How do I change the items: author, date and comments?
I want to leave them just below the title of the article.
Example in the image.
Hello!
How do I change the items: author, date and comments?
I want to leave them just below the title of the article.
Example in the image.
I also want to change the date format: dd / mm / yyyy.
Something like this might help: https://generatepress.com/forums/topic/category-and-number-of-comments-in-the-article-type-post/#post-174549
You can ignore the last bit of CSS (@media etc..).
The date format should follow what you have set in Settings > General.
The comment link is showing up on the blog home page (https://goo.gl/zr45g5), but it does not appear on the individual page for each article (https://goo.gl/677E2H). How do I make it appear on both pages?
Something else ... I want the comments link to be next to the date:
By Author on 12/20/2016 | Comments
Where should I change?
Nice site! I like it :)
To make your comments link appear with the other links, remove this CSS:
@media (min-width: 769px) {
.comments-link {
position: absolute;
top: 0;
right: 20px;
}
}
To make the comments show up on the single post, find this line inside the function you added:
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) && $comments ) {
And replace it with this:
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) && $comments ) {
I still need to put the following code CSS:
.comments-link {
display: inline;
}
Ah, thanks! Forgot that part :)