Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Custom author avatar with GenerateBlocks

  • In my post meta, I want to use custom author avatars instead of the WordPress Gravatars.

    So far, I have created a block element that I am designing as a Page Hero, to display headline, featured image and post meta information.

    In order to upload custom images to my WordPress users, I have created an image field called “author_image” using the ACF Plugin. This allows me to upload author images on the WordPress user page.

    I am stuck however, when it comes to displaying dynamic images on the frontend. I tried to use the GeneratePress “dynamic image” block, set it to type “Post Meta and enter “author_image” as a Meta Field Name. I also tried using the image block of GenerateBlocks, enable Dynamic Data and then choose Post Meta – but my custom field does not show up in the “Post Meta Field” dropdown.

    Thanks for helping!

  • Hi there,

    see my reply here:

    What that will do is replace the WP Gravatar with your custom field image.
    And then wherever the gravatar would normally show up , will be swapped. So you can simply use the Dynamic Data option to show the Author Avatar in your page hero.

  • Thanks, David!

  • You’re welcome

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