People Page
[resolved] Additional Information (4 posts)

  1. Neilisin
    Posted 1 year ago #

    I'm finding the title and photo fields are being "forgotten" between saves and re-editing.

    Instead of displaying the title/photo I'm getting this in the title value:

    <?= esc_attr( get_the_author_meta( 'title', $user->ID ) ); ?>

    and in the photo field:

    <?= esc_attr( get_the_author_meta( 'photo', $user->ID ) ); ?>

    I did try replacing the <?= with <?php in the plugin, but that didn't do the job. Any suggestions?


  2. jethin
    Plugin Author

    Posted 1 year ago #

    Hi Neilisin,

    It sounds like your server is printing the php code you listed above as plain text in the title and photo form fields on the user edit page, correct? If so then I think you were close: the problem is likely the short tag, but you'd need an echo statement to get the actual value to appear. So, replace:



    <?php echo

    Please give that a try and let me know if it solves your issue. If it does I'll update the plugin to include this fix. Thanks.

  3. Neilisin
    Posted 1 year ago #

    Hi there, that fixed it! Thanks for the tip! :)

  4. jethin
    Plugin Author

    Posted 1 year ago #

    You bet Neilisin, glad that did the trick.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • People Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic