vitoradler
Forum Replies Created
-
hello again!
I’ve solve the problem with the following snippet:
add_shortcode('link_cover_perfil', 'generate_cover_link'); function generate_cover_link() { // Check if Ultimate Member plugin is active if (function_exists('um_user')) { // Get the current user's ID $user_id = um_profile_id(); um_fetch_user( $user_id ); // Get the URL for the user's cover photo $cover_url = sprintf('https://scortvip.vitoradler.com/wp-content/uploads/ultimatemember/%s/cover_photo.png', $user_id); // Check if cover photo URL is found if (!empty($cover_url)) { // Return the img tag with cover photo URL $res = "<img src=\"{$cover_url}\" style=\"width: 100%; height: 400px;\"/>"; return $res; } else { return "Capa de perfil n?o encontrada para o usuário atual."; } } else { return "Ultimate Member plugin n?o está instalado ou ativado."; } }
and just need to place the shortcode [link_cover_perfil] anywere on the website
- This reply was modified 7 months ago by vitoradler. Reason: Forgot to mark as solved
is there ate least a way to get the cover image Url?
Oh! i’ve mistaken the place i was suposed to change, now that worked perfectly, thanks!
Just did it, i’ve tryed to put the snippet on the functions.php, the option is not showing on the builders dynamic options. Also the standard file vizualization still as a file.
Ps:. i’m not a programmer
Nice, it does worked, thanks. Just one other question, I need tha t video to show on the profile page but i’m not finding how to dynamic post it. Here is a profile example:
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] Error on slider contactsI could’t upload a pic here, so here’s a link to it:
https://drive.google.com/file/d/1jvy3AMIel8g7MJlMLwactLiOMGeD4K8k/view?usp=sharingForum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] Bug on slider formIts the same short code, don’t make sense the structure differ like that (I’ve also cleaned the cache). Anyway, as you suggested, I’ve removed one of the forms and it’s working properly now.
Thanks for your assistance, your support really amaze me. Keep on the good work!
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] Bug on slider formI just enabled the wp-debug, is there anything also you need?
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] Bug on slider formI still looking after the WP_DEBUG with the infra team (big company issues). For the forms, here it’s:
New page with new form
https://hinovacred.com.br/teste/Old page
https://hinovacred.com.br/prosegur/financiamento-de-veiculo/#PS: there are two different forms on the old pages, one for mobile and one for desktop. The desktop one is a slider and the mobile is an Accordeon.
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] Bug on slider formYes, I’ve tried everything on cache, clearing the wp cache, the form cache, the specific page cache, the browser cache and opening on a private window, none of them worked.
I’ve also tried to check on the code, couldn’t find a visible mistake. I’ll checkout on the tutorial u sent me, but u think that this is the cause?
Just updated the permission, you might be able to see it now.
And just one more other thing, on the slider form you can see errors in all the sliders, but just one at time, so if there is an error on the first slide and on the last slide, he probably wouldn’t go to fix the first slider to fix it at the first try. Is it possible to do something like this ↓
https://drive.google.com/file/d/1WLFaHE2oeVi4HikAB6eJuqnmtoZG4nBM/view?usp=sharing
- This reply was modified 3 years, 10 months ago by vitoradler.
Hello @aurovrata! I saw your update and it was really amazing but just one thing, when there’s an error in more than one tab in a multi tab accordion (my site for example), the error only appears on the first wrong tab. The others remains the same till the user correct the first tab and click on send again, only then the error indicator appear on the next incorrect filled tab.
That sounds great! By now I’ll try to do it myself but as I’m no specialist at codding I’m totally looking forward your update.
Here’s an example of what I want to do.
https://drive.google.com/file/d/1CUuYJSps9Z7NSHmJlaaI-FySDTaV0EBi/view?usp=sharing