Site logo

Archived topic

author, date and comments

5 replies · Started by Anderson Ojope on December 19, 2016

Viewing posts 1–6 of 6

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.

http://prntscr.com/dlf8ip
https://goo.gl/XQdKkP

http://prntscr.com/dlpbpi

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 :)

This archived topic is closed to new replies.