Site logo

Archived topic

Category and number of comments in the article.type-post

1 reply · Started by Anonymous on February 22, 2016

Viewing posts 1–2 of 2

Tom,

In standard article.type -post style category and number of comments appear below the article title.

There is the possibility of placing the category above the title and the number of comments on the right of the title?

Should look like this image: http://s12.postimg.org/8b16xhrfh/model.png

Thanks!

No easy way to move the entry meta above the title - working on that.

You can however move everything up below the title with this PHP: https://gist.github.com/generatepress/c25f5fad1f646ef5eea3

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

Then add this CSS:

footer.entry-meta {
     display: none;
}

.entry-header .entry-meta {
    position: relative;
}

@media (min-width: 769px) {
    .comments-link {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

Adding CSS: https://generatepress.com/knowledgebase/adding-css/

This archived topic is closed to new replies.