- This topic has 9 replies, 2 voices, and was last updated 5 years, 4 months ago by
Leo.
-
AuthorPosts
-
November 11, 2020 at 12:36 pm #1527369
vasu
Hi!
I had received great instructions on setting up an author box here. I want to add the no pin tag to the author image in the box. Can you help me with that? I have Simple CSS and I copied the recommended css to make the author box look pretty. Thanks.
November 11, 2020 at 3:00 pm #1527518Leo
StaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know 🙂
November 12, 2020 at 7:37 am #1528531vasu
Sure. I have provided below.
November 12, 2020 at 8:57 am #1528671Leo
StaffCustomer SupportWhat is the code you are using for the author box?
November 12, 2020 at 9:10 am #1528690vasu
<div class="author-box"> <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ));?></div> <h4 class="author-title"><?php printf( get_the_author_meta( 'display_name') );?></h4> <div class="author-summary"> <p class="author-description"><?php echo wp_kses( get_the_author_meta( 'description' ), null ); ?></p> <div class="author-links"> <a>" title="Read more"> Read more... </a> </div> </div> </div>November 12, 2020 at 9:17 am #1528699Leo
StaffCustomer SupportHmm I’m not aware of a way to modify the output of the avatar image unfortunately – this is not handled by the theme.
We could try hiding it with CSS – However, I just checked the author box at the bottom of single posts and not seeing a pin tag.
November 12, 2020 at 11:33 am #1528842vasu
Can you tell me the css to hide it? I believe you can hide it using this code: ‘extra_attr’ => ‘nopin=”nopin”‘ for the image, but I am not sure how to place it correctly without breaking the box.
November 12, 2020 at 2:19 pm #1528988Leo
StaffCustomer SupportI’m actually not seeing the Pin showing up in your author box avatar as opposed to your other images:
https://www.screencast.com/t/LIz7HxFhK60Are you seeing it on your end?
November 12, 2020 at 2:42 pm #1529007vasu
I see it come up as an option when I click the Add to Any Pinterest share button at the bottom of a post. I have provided the url of a post below.
November 12, 2020 at 4:41 pm #1529073Leo
StaffCustomer SupportI’m not seeing the button you are referring to.
Can you provide a screenshot?
https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots -
AuthorPosts
- You must be logged in to reply to this topic.