Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1078598
    Lynda R
    Participant

    Is there a way to add custom code to modify the post metadata so that it does not show the author’s name? I don’t have a child theme set up.

    #1078910
    Prasant Rai
    Moderator

    Hello Lynda,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1083802
    Lynda R
    Participant

    The site I am inquiring about is http://www.maureenmurdock.com
    Lynda

    #1084325
    Darshana
    Moderator

    Hi there,

    Upon checking, it seems that you have already disabled post meta. Were you able to resolve this issue? If not please provide us with a screenshot and a link to a sample page, so that we can check.

    Thanks!

    #1085500
    Lynda R
    Participant

    Hi,
    I have disabled the post metadata, but I was asking if there is a way to enable certain fields in the metadata and not others. I would like all of the fields to show EXCEPT the author’s name.
    Lynda

    #1086187
    Rue Nel
    Moderator

    Hello Lynda,

    Thank our for the clarifications! Regretfully there aren’t any setting that you can just turn on/off any of the post meta. There are two ways to remove the author’s name from the post meta. One requires a child theme and the other is by using custom css. And in your case, since you haven’t setup a child theme, we’ll just use the custom css. Please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .site .p-meta>span:first-child,
    .site .p-meta>span:nth-child(1){
        display: none;
    }

    Please let us know if this works out for you.

    #1087468
    Lynda R
    Participant

    Thanks, that worked!
    Lynda

    #1087500
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1078598 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>