Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter p2hannley

    (@p2hannley)

    Alex,
    I appreciate your help so much. I finally got all of this to work.

    The raw HTML (with the shortcode for getting the most recent post by author, a photo, and the author’s name) worked when pasted into the footer.php of our template. Unfortunately, it never worked in the text widget. My theory is that there was a conflict with our template because when the shortcode was in function.php and the html was in the text widget, the proper information displayed– but the other elements of the template were pushed to the bottom of the page. Regardless of where I put the text widget with html, it affected the rest of the template.

    I got the author/post/pic to display properly and where I wanted it(in the feature area of the template) by putting the raw html into sidebar.php.

    It looks great! Thanks for everything.

    pam

    Plugin Author Alex Mansfield

    (@alexmansfield)

    You’re welcome!

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Latest Post by Author code’ is closed to new replies.