Archived topic
Moving comments link in blog
11 replies · Started by Elio Martinez on April 7, 2017
Hi,
Is it possible to change the place of the comments link in masonry blog so it go below the date, hour and author? My web is nbamaniacs.
Thanks.
Hi Elio,
Are you using a plugin to display the blog posts?
By default the comments and category should show up at the bottom. Check out this demo page: http://demo.generatepress.com/
Let me know.
Mmmmm, maybe I changed something in the code two years ago but I can not remember where...
Looks like you're using a custom function - can you possible show me what it is?
There's been some changes recently to those elements so we can filter them - a lot easier than replacing entire functions.
Tom, I am checking my functions.php file and I don't have anything about the comments and category.
I can't remember what I changed to display the number of comments before the featured image. Maybe at content.php? But I don't find anything there.
Hmm, for me to write anything that would work, we would need to it be using the default settings.
Ideally you shouldn't be making any changes to the template files, unless you've added them into your child theme?
Hi Tom,
Finally deleted my customized functions.php in the chid theme and the links to comments is again in the properly place.
Now I need some code to delete the big blank space that the theme left for the excerpt, something that I don't need. I need the date, hour and author and immediately the comments. As you can see in nbamaniacs.com there is a lot of blank space between date, hour, author and comments.
Try this:
footer.entry-meta {
margin-top: 0;
}
Solved with this!
One more thing related to this: how can I avoid the annoying three dots that appear for the excerpt?
I delete some code from content.php in my child theme to avoid that, but I prefer another fix and not have a child theme for that only purpose.
Thanks.
Try this:
.entry-summary {
display: none;
}
Solved! Thanks.
You're welcome :)