Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Post Author Avatar


Question

Posted · Report post

Hello, do I use a hook if I would like to add the post author's avatar on the homepage?

If I have to use that, what would be the exact command?

Is there another way to do that?

My website allows visitors to make submission of photos and text, and I would like their avatars to be shown next to their post.

Visitors who post are random and I may not know them, hence it has to be automatic that once someone posts, his or her avatar goes up with the post.

But within pagelines drag and drop, I can only add "post author" into "blog post".

How do I add "post author" with the avatar into the "blog" section (where all the latest posts will be shown)?

Thank you for your help.

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

I know this topic is marked resolved, but any chance you could share the hook you've used to include the user avatar?

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you James,

Will check that out. But is there no way to do so directly using what Pagelines offer?

Meanwhile, would you be able to advise what is the hook exactly to add to the Base theme?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

If you go to the PageLines Store within your website's, you will find a plugin called Action Map. This will assist you in finding the location of the hook you wish to use. Once you have installed/activated the plugin, go to your homepage, in your Wordpress admin bar, there will be a new link available in the top left hand corner called Action Map. Clicking this will display all the available hooks on this page.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Managed to get it done, thanks Danny!

Share this post


Link to post
Share on other sites

Posted · Report post

That's great to hear and no problem.

The topic was marked as resolved.

Share this post


Link to post
Share on other sites