Last active
November 28, 2021 13:57
-
-
Save kimcoleman/bf8aad1010e0d291ac05ab7b9647986e to your computer and use it in GitHub Desktop.
Show a link to the profile user's author post archive on the Member Profile page.
Thank you - I have updated the recipe and now also check whether there are no posts by the user before displaying the link.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code doesn't work correctly. It shows always the first WordPress user.
Here is a correction :
}
add_action( 'pmpro_member_profile_after', 'link_to_author_archive_pmpro_member_profile_after' );