• Resolved chrismacleavy

    (@chrismacleavy)


    Hi Ben

    Hoping to modify the meta to remove the author name. I have been using this

    .post-meta {
    display: none;
    }

    but decided that the date was useful to have, but I don’t need to see my name.
    Can we modify the code so the outcome is simply without the author name, like so?

    “Published on February 27, 2017”

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey Chris,

    We don’t have enough elements in the code to quite pull this off. With CSS alone, I can produce “Published by on February 27, 2017″ which obviously isn’t ideal.

    Can you remind me, do you currently have a “child theme” active on the site? We’ll just need to modify one of the template files with a child theme instead.

    Thread Starter chrismacleavy

    (@chrismacleavy)

    Hi Ben,

    Apologies for the delayed reply, apparently I didn’t get an email notification that you’d replied.
    I’ve decided I’ll be OK with keeping the text as it is, but I’d settle for changing the font colour to make it less obvious. Could I do that instead?

    Theme Author Ben Sibley

    (@bensibley)

    Absolutely, you can use this CSS to make the byline a light gray color:

    .post-meta,
    .post-meta a,
    .post-meta a:link,
    .post-meta a:visited {
      color: #ccc;
    }
    Thread Starter chrismacleavy

    (@chrismacleavy)

    Thanks Ben, I like it.
    The site is becoming quite a mature product now; I like what we’re doing with the place!

    Theme Author Ben Sibley

    (@bensibley)

    Haha glad you like the latest addition ??

    Hi Ben, I think this may be the same thing I am trying to do.
    I am not familiar with coding and tried to drop the code she mentioned into the text code part of the editing page, but that didn’t work and showed up as part of the blog text.

    I would like to show my name as the publisher and the date, if that is possible, without having the hover show the email address. Do I understand that this is an all or nothing sort of thing?

    If that is the case, how to I turn off the metadata for all the blog posts?
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Modify Post Meta’ is closed to new replies.