- This topic has 5 replies, 2 voices, and was last updated 5 years, 4 months ago by
Tom.
-
AuthorPosts
-
December 19, 2016 at 11:05 am #256260
Anderson Ojope
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.
December 19, 2016 at 10:49 pm #256336Tom
Lead DeveloperLead DeveloperSomething 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 20, 2016 at 4:17 am #256408Anderson Ojope
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 | CommentsWhere should I change?
December 20, 2016 at 10:29 am #256516Tom
Lead DeveloperLead DeveloperNice 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 ) {
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 26, 2016 at 7:13 am #257847Anderson Ojope
I still need to put the following code CSS:
.comments-link { display: inline; }
December 26, 2016 at 9:49 am #257892Tom
Lead DeveloperLead DeveloperAh, thanks! Forgot that part ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.