WordPress.org

Ready to get started?Download WordPress

Forums

Fruitful
Remove author link and add category (5 posts)

  1. Orpian
    Member
    Posted 2 months ago #

    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

  2. stacyduval
    Contributor Day Volunteer
    Posted 2 months ago #

    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.

  3. Orpian
    Member
    Posted 2 months ago #

    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!

  4. Stuart Duff
    Member
    Posted 2 months ago #

    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

  5. Orpian
    Member
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Theme

About this Topic