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
- Is it ok to use a function to output the text domain name in a wordpress theme
- contactform7 remove tags with “wpcf7_autop false” from functions.php
- ajax live search for post title
- How to get an array of menu items from the toolbar?
- Editing or filtering the output of the Genesis navigation
- Display gallery on top before content
- List of Body Classes Generated by body_class()
- Redirect specific page in WordPress for first time visit
- Display alert on successful user Sign Up
- Set spesific size of featured images
- Excerpts are not displayed by a shortcode on category pages
- Getting comment count per post not working
- Functions.php Problem
- It does not work concatenation in function.php
- Get arguments from URL
- Excerpt for pages not showing
- Can’t Write Custom Widget Code In One ECHO
- Add a class to post if it has been recently updated
- Theme Customizer – Custom Sections Display, but do Nothing
- how to add_filter to non hook function
- WordPress comment processing . Default unapproved comments detection before posting
- Members only function, but allow account activation [solved]
- Remove nofollow from internal comment links via functions.php
- Run function for specific user only
- Why is the term of my current page not returning a slug?
- Conditionally apply css for a specific template part
- Fatal error: Call to undefined function. Underscore me
- How to echo the translated custom field?
- Moving CDN jQuery to footer does not work?
- How do I make my child theme’s CSS update when I save it?