amr users
[Plugin: AmR Users] use php code in "before" and "after" (3 posts)

  1. Geoff
    Posted 5 years ago #

    I'm trying to add a link to the user's author page, which is dynamic. When I try putting in the phpcode to call the author link, I get something like /wp-admin/%3C?php instead of the actual author link.

    Anyway to accomplish this?


  2. anmari
    Plugin Author

    Posted 5 years ago #

    I haven't allowed for php code in the fields - only selected html.

    At the moment the links are fixed at:

    • a username has a link to the edit profile page,
    • the email has a mailto link
    • the user url (from the user profile) is exactly that

    In the brewing update mentioned in other post, there is a plan to allow one to specify the sort of link that one needs for a field from within a predefined list eg: for user related fields there is
    - the edit link,
    - the mailto link
    - the author archive link
    - possibly a comments by that author page?
    - the url in the user profile if it exists

    When you say the users author page - do you mean the author archive of posts or the edit author profile page or something else?

  3. carblanco
    Posted 5 years ago #

    Hi all,

    I'm showing a list using some s2member custom field, company_name.
    I'd like to link this company_name to the complete company form (with address, phone, email, etc.) but I don't see the way, is it possible?

    Maybe using the before and after with something like:
    Field name: Company Name
    Display order: 1
    Before: <a href="***code***">
    After: </a>


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • amr users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic