[Resolved] author, date and comments

Home Forums Support [Resolved] author, date and comments

Home Forums Support author, date and comments

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.

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

    #256336
    Tom
    Lead Developer
    Lead Developer

    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.

    #256408
    Anderson Ojope

    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?

    #256516
    Tom
    Lead Developer
    Lead Developer

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

    #257847
    Anderson Ojope

    I still need to put the following code CSS:

    .comments-link {
    display: inline;
    }
    #257892
    Tom
    Lead Developer
    Lead Developer

    Ah, thanks! Forgot that part ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.