Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How to display public user profile with 2 additional fields? (GitHub source code included)

I think an easy way to do this would be to make use of the wordpress template structure, take a look at Codex: Templates and Codex: Template Hierarchy for a general overview. But namely you could use the author templates – Codex: Author Templates – for this, so likely you will adapt the author.php file to fit your needs.

Additionally you want to change the rewrite structure for the author template to match your goals. General information can be found at Codex: Rewrite API and Codex: Class Reference/WP_Rewrite. Besides that this has been answered several times here on WPSE, no need to duplicate this, so take a look at: Diplay a registered user profile page and/or How to custom change author base without $this->front?.

Related Posts:

  1. Where the Nickname is being used in WordPress
  2. Registration Form Validation in wordpress
  3. action-scheduler vs wp-background-processing
  4. How to make first_name and last_name required fields in user profile?
  5. How to redirect users to their profile after they successfully edit their profile
  6. Using WordPress to build membership Page
  7. Different registration form for different roles
  8. Structuring function with registration_errors hook
  9. How to automatically activate users after registration without activation email?
  10. Using WordPress to create a simple web app (SaaS) [closed]
  11. How to get author developer link on plugin page
  12. WordPress s2 member plugin not working [closed]
  13. WordPress isn’t sending welcome email with the password reset
  14. Issues with creating user profile for a subscriber, but with different profile page and functionalities
  15. CRUD and Frontend show from a custom table without shortcode
  16. How to get specific setting by settings_fields()?
  17. Save / Show multi line text in metabox
  18. Creating mySQL procedure with $wpdb
  19. how to disable blockrenderAppender inside all Innerblocks?
  20. why doesn’t this update part of this plugin work? it take me to nothing here page
  21. Redirection of users away from wp-admin (but not administrators)
  22. WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal
  23. Using a custom plugin to capture input data via Ajax and PHP
  24. Python with wordpress plugin
  25. Display post lists in 2nd paragraph
  26. Map Custom Registration Fields to WordPress User Roles
  27. wp_set_auth_cookie causes 403 error in the wooCommerce checkout
  28. Not able to add option in Sub-Menu under page
  29. How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
  30. Using a post-signup hook to get user details
  31. How to apply a patch via plugin?
  32. Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
  33. Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
  34. Disable woocommerce cookies and delete cart data automatically
  35. Ajax contact form widget plugin data not insert in database
  36. link bbpress forum discussion to blogposts
  37. Install Plugin via Code
  38. code is working properly in Core PHP but writing coding in WordPress
  39. Combine scripts from all extensions of the plugin when an extension is activated
  40. Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
  41. Prevent duplicate records in plugin table
  42. Send Custom welcome email to specific user group
  43. woocommerce payment gateway callback not firing [closed]
  44. How to modify WCMP Rest API response?
  45. Fetch Children of Grouped Products Inside WooCommerce Product Loop
  46. White page by using filter template_include
  47. How to fetch products with the price in a page on woocommerce using a form or live search with php
  48. Making a Template for a CPT created by a plugin
  49. Woocommerce dependent plugin
  50. WordPress.org Plugin Directory doesn’t recognise screenshots [closed]
  51. External CSS in WordPress Plugin [closed]
  52. How to check current user before all actions and filters?
  53. Owl Carousel2 image not displaying full width when using Stretch row and content, Stretch row and content(no padding) in wordpress
  54. User Session and Stored Cookies not get removed
  55. New databes tables with – WooCommerce – for developers [closed]
  56. How can I prevent my plugin go development trunk [closed]
  57. Plugin-generated pages use Not Found or Pages Archive templates?
  58. How can I make 2 plugins that include different versions of a framework to both use the latest version?
  59. creating html reusable blocks via shortcodes
  60. Add Plugin options as subpage to Theme options page
  61. Is there any kind of theme on WordPress to sell my own movies?
  62. Image upload and download from front-end
  63. Create custom registration form for WordPress Multisite
  64. Create a navbar filter that filters by a custom field
  65. Change commission_status paid when withdraw_status vendor is completed
  66. Passing an array from shortcode-function to filter-function
  67. custom payment gateway in woocommerce failed to connect to remote api server
  68. wp_remote_get() returns 403 while file_get_contents() does not
  69. Single API call exposed via shortcode with params
  70. Plugin options page with live preview?
  71. Using SVN to upload plugin created with gutenberg blocks
  72. Force quit running background job
  73. Modifying Author Link to add Author Meta in URL
  74. How to output CMB2 select options from repeated groups select elements?
  75. Creating a Callback URL for WordPress Woocommerce to update Order Status
  76. Get Time Taken By Each Action Hook in WordPress
  77. How to export post 2 posts WordPress plugin data [closed]
  78. 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
  79. WordPress plugin creation how to execute .sql in order to insert multiple rows at activation of plugin
  80. User registration
  81. Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
  82. get 404 when accessing wp-admin/plugin-install.php
  83. What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
  84. Plugin: register_deactivation_hook works perfectly well, while register_activation_hook suddenly stopped working
  85. Are functions in main plugin file called before function bound to register_activation_hook runs?
  86. I want to auto populate data in three fields if one drop down is selected
  87. Best place for if/else piece of code related to custom plugin?
  88. How do you assign a UUID to posts/products/comments/reviews?
  89. Best way to initiate a class in a WP plugin?
  90. correct way to include a library(and its dependent libraries) in wordpress development
  91. How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
  92. Issue Tracker from pre exsisting table [closed]
  93. How to make a implement queue for scheduling tasks in WordPress?
  94. Session destroyed on page redirect
  95. WordPress Plugin [closed]
  96. wp.media javascript issue with on select
  97. Is there a way to test that readme looks in other language before submitting translation?
  98. What are the specifics of WordPress development I need to know? [closed]
  99. Insert data from .sql file in wordpress plugin
  100. WP_Async_Task doesn’t appear to be running asynchronously
Categories plugins Tags account, plugin-development, plugins, profiles, user-registration
Make Customizer Load Specific Page
Custom/separate categories for custom post type

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress