• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Removing author name from byline in Origin theme

Removing author name from byline in Origin theme

  • Unknown's avatar
    larelekman · Member · May 12, 2012 at 3:25 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello,

    I would like to remove author name and the “edit” link from my blog’s byline, while keeping the posted date and category tags.

    All pointers are greatly appreciated!

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

  • Unknown's avatar
    timethief · Member · May 12, 2012 at 3:29 am
    • Copy link Copy link

    Have your purchaed the custom design upgrade and is this a CSS editing question? I’m asking as it can’t be done without the upgrade.

  • Unknown's avatar
    timethief · Member · May 12, 2012 at 3:30 am
    • Copy link Copy link

    BTW the “edit” link is visible only to you when you are logged in. It’s an Admin edit link that cannot be seen by visitors.

  • Unknown's avatar
    thesacredpath · Member · May 12, 2012 at 4:04 am
    • Copy link Copy link

    The author’s name can be removed with CSS, but “Kirjoittanut” (written by) cannot since it is lumped in with the date (no separate selector). The following will get rid of the author’s name.

    .author {
    display: none;
    }
  • Unknown's avatar
    larelekman · Member · May 12, 2012 at 3:27 pm
    • Copy link Copy link

    Thank you timethief and thesacredpath! I do have the CSS option and admin rights.

    I found out the CSS trick below that completely hides the “Written by” and “Edit” parts while keeping the post date and category keywords visible.

    You can see the result at http://larelekman.com. It however doesn’t show the “Categorie(s):” text label, but is simplistic and close enough.

    .byline {
    visibility:hidden;
    width:130%;
    }

    .byline .published {
    visibility:visible;
    float:left;
    padding-right:5px;
    }

    .byline .category {
    visibility:visible;
    float:left;
    padding-right:5px;
    }

    .byline .author,.edit {
    display:none;
    }

    .byline a {
    visibility:visible;
    float:left;
    padding-right:5px;
    }

  • Unknown's avatar
    larelekman · Member · May 12, 2012 at 5:15 pm
    • Copy link Copy link

    After some digging, you can actually add the missing text labels with CSS also. Add this after the previous CSS:

    .byline .published:before {
    content:”Posted on”;
    float:left;
    padding-right:3px;
    }

    .byline .published:after {
    content:”in categories:”;
    float:left;
    padding-right:3px;
    }

  • Unknown's avatar
    thesacredpath · Member · May 12, 2012 at 6:59 pm
    • Copy link Copy link

    You should know that with this complex solution, it might not work in all browsers. I’ve seen Internet Explorer flip out on things like this and ignore it all.

    Also, visibility: hidden; can be looked on suspiciously by search engines since those that try to “game” the search engine to appear higher in search results have used it a lot in the past to hide SEO tricks from people but make it available for search engines.

    In particular, I don’t thing IE7 or IE8 will know what to do with the :before and :after and content stuff, so just be aware that your carefully crafted changes above will likely not be seen by everyone.

  • Unknown's avatar
    larelekman · Member · May 14, 2012 at 12:55 pm
    • Copy link Copy link

    Yes, the CSS is definitely complex, yet it produces a clean and simplistic output – at least on the latest Chrome, Safari, IE8, and iPhone browsers.

    The SEO issue is a more serious one, and I will need to consider it further.

    Thank you sacredpath, and have a great week!

  • The topic ‘Removing author name from byline in Origin theme’ is closed to new replies.

Tags

  • Admin edit link
  • byline
  • Origin
  • remove author byline

About this topic

  • In: Support
  • 3 participants
  • 7 replies
  • Last activity 14 years
  • Latest reply from larelekman

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions