About the author box

Hello,

I have created a custom shortcode to display the author on the sidebar of the single post template.

[x_author title=“About the author”]

This is currently working correctly, however I would like to customise the “About the author” with the First name of the author, such as “About Ben”.

I have modified the shortcode above with the meta available and it looks like this:

[x_author title=“About {{dc:user:display_name user=“author”}}”]

However, it won’t work and break the page.

Do you have any ideas how to fix this?

Hi Alessandro,

The issue might be the incorrect curly quotes. Something like this should work:

[x_author title="About {{dc:user:display_name user='author'}}"]

See this: https://screencast-o-matic.com/watch/cYfe134Jwc

Hope this helps.

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