An Alternate Solution is :-
You can make a form and when click on link submit the form with post request by JavaScript or jquery and send user id with post method in hidden field and get it on profile page get the user data by id and display it where you want.
Related Posts:
- Add tags to the section via functions.php
- Define page template in wp_insert_post
- Add custom template page programmatically
- Define custom Page Template without its own .php file
- Relative URLs and hide /wp-content/themes/
- Filter the query ONLY for the search results page
- How do you permanently remove default rewrite rules from the wp_options table?
- Change meta tags programatically
- Custom page template how to check is_page from functions.php?
- Run Product Filter Javascript On Page Template
- How to add iOS & fav icons to the theme?
- Programmatically set page template based on page ID
- How to make unique add_filter to the_content of specific page template files – so each template gets its own addition
- Adjust which tempalte a page uses with a function?
- How to specify which Gutenberg blocks are available in the editor for a page template
- Trying to inject twitter metadata into using wp_head action in functions.php – get_the_excerpt() returns null
- how to change link of some wordpress pages
- Filtering posts by category name based on page’s slug
- How do I edit wp_head and/or functions.php to remove rss-feed which isnt used and dont validate?
- How can I create a page with a specific URL?
- is_account_page() change to page slug
- How to enable template page only for a post id page
- Activate small php condition at footer over page template
- Get_template_part inside a folder
- Passing a variable via wp_head and then calling it on the page
- How to rewrite the custom url in wordpress?
- meta tags doesnt fetch data from permalinks
- Remove adjacent_posts_rel_link under 3.2?
- Pass parameter to hooked function using custom page template
- different style sheet for just one page template
- Auto Generated HTML source code formatting
- Adding javascript to functions.php causes problems with my template
- Page get parameter doesn’t work with is_single() function
- How to rewrite wordpress search to work on specific category
- How can I pass a shortcode value to the head in wordpress functions.php
- Different favicon on different pages
- How to Add Shortcode to html img code?
- Rewrite Question Mark in Post Template with URL Parameter for clean URLs
- Page Template Won’t Load Correct CSS File
- Function to echo (or display?) wordpress tags in the head section
- How do I find the code executed when wp_head() is called?
- colorbox not loading in
- Function to check if custom page is used by page?
- Unable to use get_page_by_title() more than once per page?
- Create Custom URL structure for specific Post category using Post ID instead of post name
- Custom route and extract data from slashes and parameter
- reWrite wp-content url to point on my cdn
- How to Override Page Template if URL matches query?
- Probleme shortcode with list author
- How Can I Create a Friendly Slug for a Dynamic Page?
- Hide author info in single posts by certain users
- Add #primary at the end of navlink permalinks on single posts
- Enqueue script if not page template
- How to change form action of wp-login page with a function
- Route wordpress with template
- Pagination won’t work on custom page
- Placing CSS/ JS into the header or footer (inline) – trying to apply to several templates
- Rewrite rules and the permalink
- Sending Messages Back to the Template After Processing?
- custom COOKIE on custom page
- is_page_template wont allow me to enqueue scripts
- Problem with add_rewrite_tag
- How to add a meta information to the URL?
- How to use different jquery function of idangero swiper dependant on page template?
- Echo a div to header.php from functions.php
- new to javascript – using in instead of functions.php, not loading correctly
- WordPress is adding pagination for all pages not only for blog page, How to remove pagination for all pages except blog/posts page?
- wp_head not injecting css
- Logout redirect via page template without confirmation?
- Template Redirect Function Only Working When Logged In
- Get list of years when posts have been published
- Do WordPress’ cron’s clean up expired transients?
- How to add first name & last name to default registration form?
- Masking logout URL
- How can I programmatically create “child” pages on theme activation?
- Custom Post Type slug same as page name causing a conflict
- How can I change the do_action function in footer (copyright area)
- How to display post content instead of excerpt
- Which action does wp_update_user triggers?
- Dynamic dropdown from database table
- WordPress website Rs changed to currency symbol
- Functions in custom theme
- check if author has published posts in custom post type, then send mail
- enqueue_script with filemtime javascript not working
- How to obtain the recent posts without their content in an efficient way?
- Limit dimensions of “Full” size images
- Output a specific link in WordPress post if the single post’s category’s name contain certain word
- Passing user enetered value in widget: number of words, for example
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- Custom Image Size in Insert Media
- wp_nav_menu displaying all pages
- Why should I use get_template_directory() when include files?
- How to replace ACTION url from original wordpress login form?
- Problem with email function
- I need to completely ‘wp_dequeue_script’; what’s the best way?
- $content is empty while using DOMDocument
- Dynamically generated Navigation Diagram using Custom Fields
- Full size image option removing problem
- Need to use an external variable inside a function
- Get all users from role and add to dropdown (select) – wordpress, javascript