Remove author from post

  • Unknown's avatar

    Hi there, please would someone help me, I need to remove the “posted by” part when I post something. I can use CSS however I not sure what to put in it. Please someone help me! :)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello,

    The following CSS should do it:

    p.postinfo {
    	display: none;
    }
  • Unknown's avatar

    Hi there, thanks for you help however when I click on the post and go to it, it still says at the top of the post “posted by” :(

  • Unknown's avatar

    Hi, on the single post pages, the complete line of metadata underneath the title is in a single div. There is a class for the author name, but the “Posted by” before it would remain. You can add the following to see what I mean.

    .single a[rel="author"] {
        display: none;
    }

    You can hide the entire line of meta text with the following if that works for you.

    .single .post-meta {
    display: none;
    }
  • Unknown's avatar

    Thanks a lot! Is there any way I could make the side bar appear on my post pages? Also I was wondering if it possible to create post template so that I don’t have to upload the same “featured image” to every post?

  • Unknown's avatar

    Is there any way I could make the side bar appear on my post pages?

    At WordPress.com, the theme you are using determines whether or not a sidebar appears on single posts—you cannot use CSS to add one, but in this case TheStyle theme already has the option so you’re in luck!

    You can make a sidebar display on single posts by going to Appearance > Widgets in your dashboard and adding some widgets to the “Single Post/Page Sidebar” area.

    Also I was wondering if it possible to create post template so that I don’t have to upload the same “featured image” to every post?

    That’s not possible here at WordPress.com. When it comes to adding dynamic content or customizing theme PHP code or adding a function that isn’t already there, those kinds of things cannot be done with CSS only and you would need to purchase a web hosting account from a hosting company and switch to a WordPress.org setup where you install the open source WordPress software and then you would need to write some custom code to make changes like that.

  • The topic ‘Remove author from post’ is closed to new replies.