0

On my puzzle website I would like to display author image on the post area as shown in the image below. The author image would be a background image. May I know how is this possible? Theme is using custom post style for puzzle.

I got below code in theme but not sure how can we use it

<?php if (isset($wpqa_image)) {
                                do_action("wpqa_action_avatar_link",array("user_id" => (isset($post->post_author) && $post->post_author > 0?$post->post_author:0),"size" => 42,"span" => "span","pop" => "pop","post" => $post,"name" => $question_username,"email" => (isset($question_email) && $question_email != ""?$question_email:"")));
                            }

enter image description here

  • Hiya, any help here, if i am using this code its displaying the image but i still need help in controlling the appearance. How to display that as a background in lower right corner. do_action("wpqa_action_avatar_link",array("user_id" => (isset($post->post_author) && $post->post_author > 0?$post->post_author:0),"size" => 42,"span" => "span")); currenly it is looking like this link – Avinash Patel Feb 23 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.