This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Remove Author but keep date in meta

  • Creator
    Topic
  • #25971
    sandstar
    Participant

    How can I remove (not display or hide) the “author” icon and username but keep the date in the meta information?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #25981
    Jason Bobich
    Keymaster

    Hello,

    Outside of any kind of PHP code customization, the only way to remove it (and not just hide with CSS) would be to use our String Swap plugin. There’s an setting at the bottom of the plugin’s options page that allows you to put in a custom post meta structure, with some limited options.

    #25982
    sandstar
    Participant

    How would I hide it with CSS?

    #25985
    Jason Bobich
    Keymaster

    Inspect, determine a selector, and use display:none.

    #25988
    sandstar
    Participant

    I am using Firebug. However apparently I am determining the correct selector. This is what I have trieD:

    .byline author vcard {
    display: none;
    }

    .fa fa-user {
    display: none;
    }

    Neither of which work.

    Can you point me further in the right direction?

    #25990
    Jason Bobich
    Keymaster

    It looks like you’ve figured out that the element has classes byline, author, and vcard. So, any one of those classes will do. I would also preface with something specific to the meta data.

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

    And you probably want to also hide the extra separator.

    .entry-meta .sep:first-of-type { display: none; }

    It’ll help to brush up the basics of CSS and how a selector is constructed. It help you in making your customizations tremendously. There’s tons of helpful instruction and education available for free online for learning about CSS.

    #25991
    sandstar
    Participant

    Great, thanks for your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.