Bug fix for UserPro plugin (theme: Marketify) Profil Card shortcode displays different User then should (plugins: Easy digital downloads, Frontend submissions)
€30-250 EUR
Completed
Posted almost 8 years ago
€30-250 EUR
Paid on delivery
Hello,
i`m using UserPro plugin with Easy Digital Downloads and Frontend submissions plugin and want to display the profil card of the user of current post (product/download) in the single-download page sidebar (sidebar name: Download Sidebar) but also i want to display the profil card in on the Vendor page sidebar, where are all products of current user.
The profil card in the Download Sidebar is working perfectly, so it`s displaying the author of current product, but on the Vendor page where are all products of the vendor, the profil card is displaying a different user (it`s displaying the admin (my account)).
So i want to fix this, so it`s displaying the correct profil.
What i have done:
I have changed 2 widgets and placed this code inside :
<?php echo do_shortcode('[userpro template=card user=author]'); ?>
***(i`m using the "show profil card of current author of post" shortcode inside the widget .php)***
Nr1: "Marketify - Download: About" widget ([login to view URL])
i changed the line 63 and 64
Nr2. "Marketify - Vendor: Name + Avatar" widget ([login to view URL])
at this widget i changed the line 35 and 36 (i deleted both lines completly and inserted the echo do shortcode code: <?php echo do_shortcode('[userpro template=card user=author]'); ?>
I uploaded the original widget files and also the modified files + doc file.
Please check this first and i can send you the url where you can check the issue.
Please, bid only, if you know you can fix this issue and you have experience with one of this plugins or themes. I need to get this fixed as soon as possible because i want to start pre-launch (page is still in work)
thanks in advance.