WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove author link and add category

[Resolved] Remove author link and add category

  • Hi,

    Since there will be only one author, I want to get rid of the author name in the post footer.
    I’ve tried to change this in the style.css:

    .blog_post .post-content footer.entry-meta .comments-link,
    .blog_post .post-content footer.entry-meta .author-link,
    .blog_post .post-content footer.entry-meta .cat-links,

    into

    .blog_post .post-content footer.entry-meta .comments-link,
    .blog_post .post-content footer.entry-meta .author-link {
    display: none;
    }
    .blog_post .post-content footer.entry-meta .cat-links,

    but this doesn’t seems to work..
    Also, is there a possibility to add the category in the post footer (instead of the author’s name?)

    Any help very much appreciated!

    Best regards,
    Jonas

Viewing 4 replies - 1 through 4 (of 4 total)
  • stacyduval
    Contributor Day Volunteer

    @stacyduval

    Try this code in the style.css to get rid of the author name:

    ‘.blog_post .post-content footer.entry-meta .author-link {
    display:none;
    }’

    The category is already supposed to be displaying in the post footer. Make sure you have one assigned to the post.

    Hi Stacyduval,

    So I’ve made the code change in the style.css, like I mentioned in my first post, but nothing happens. I’ve deleted the line
    .blog_post .post-content footer.entry-meta .author-link,
    and added below the css the line:

    .blog_post .post-content footer.entry-meta .author-link {
    display:none;
    }

    but it still keeps displaying the author.. Also, it doesn’t display the category in the footer. As my site is in maintenance mode, here is a temporary access url: Temporary url

    Best Regards and thanks a lot!

    To hide the author link from the bottom of your posts this will achieve that for you when testing on your site when added to the bottom of your style.css file.

    .entry-meta .author-link { display: none }

    Screenshot: http://cld.wthms.co/O8rm

    I hope this helps

    Ok,

    Now I know what I’ve done wrong. I was editing the wrong style.css (needed to edit the fixed-style.css)

    Anyone any idea why the categories are not showing up in the footer?

    Thanks a lot!
    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Remove author link and add category’ is closed to new replies.