Show Author in Post Meta data Integrity Theme

Using Integrity Theme.
Theme Options - Post Meta is ON
Anyway to get the Author to show?

Thank you
Harry

Hello Harry,

The post meta options is only available for the blog pages and the post page and not for the Recent Post Element.

Please try to check this related thread:

Hope this helps.

Thank you so much for the response.
I just want it to show up on the blog post. I would be happy with that.
The Author shows up no where.

Again, Post Meta is ON and the Meta shows, just no Author, anywhere, that I can find.

Here is a screenshot of the what it looks like on an open blog post

Thanks again,

Harry

Hello Harry,

Thanks for the clarification.

It looks like you have added a CSS code to hide the author in the meta inforation in the style.css of the child theme.

Kindly get rid of this code:

.p-meta span:first-child {
    display: none;
}

Hope this helps.

Super helpful. thank you.
Removed from Child theme
Still not working.

Cannot imagine how that edit got in there.
I can tell you, it’s never worked.
The author has never showed up.
Even before we created the child theme.

Any other suggestions?

Thank you.

Hi Harry,

I have just checked your site again and the child theme is still active where the code is present:

It is not necessary to disable the child theme. You just need to check the style.css file of the child theme then get rid of the code you have added to hide the author info then clear your site and browser cache.

Hope this helps.

THANK YOU!

I am a goofball. Not sure what happened there.
Cleared the cache on the server end.
Worked!!

Now, one last question.
The author doesn’t show up as a link.
Even a link to past posts by the author is fine.

Any help greatly appreciated.
Thank you for your patience.

Harry

Hi Harry,

Unfortunately, the post meta for author is intentionally made that way. You’ll have to apply some custom code for it to add a link. Please check this another thread Meta Tags Edits

You will be replacing these lines

    $author = sprintf( '<span><i class="x-icon-pencil" data-x-icon-s="&#xf303;"></i> %s</span>',
      get_the_author()
    );

with this

    $author = sprintf( '<span><i class="x-icon-pencil" data-x-icon-s="&#xf303;"></i> %s</span>',
      get_the_author_link()
    );

Please note that we don’t maintain code or support customization, this is only provided as the idea and it’s up to you on how you’ll edit and maintain it.

Thanks!

Thank you so much for the reply. This is enough to get started.
I wasn’t aware it was never a link.
Thank you for all the help!!

HP

You’re most welcome, @cliffhumit.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.