I have created two forms in UsersWP. One to register Barbers and another one to register Barber Shops for my websites. But I have issues with profile of administrators.
In total I have 3 main roles in my website:
I can control the tabs shown in the profiles of Barbers and Barber Shops but I don’t know how to control the Profile Tabs for Administrators. For the moment it shows the same tabs as a Barber (tab1, tab2, tab3).
https://paste.pics/e326285934ec012d227a870c407856fa
Let me know for any solutions. I want the tabs for the Admin to be as shown in the screenshot
]]>So basically the user should be able to access a profile tab in which they can read their specific feedback that I have written.
]]>But now, even when you enter for the first time in your profile, after login for example, you can’t see your profile picture (unless you scroll up) because the function is activated even if you don’t press in any tab, so just shows below the tabs.
Is the function can be change and have it activated or create a trigger when you click on the tabs?
Thank you very much.
jQuery(document).ready(function() {
var $container = jQuery("html,body"),
$scrollTo = jQuery(".um-profile-nav");
// Or you can animate the scrolling:
$container.animate(
{
scrollTop: $scrollTo.offset().top - $container.offset().top + $container.scrollTop() - 500
},
1500
);
});
]]>I don’t know if I explain properly, but I would like to improve the user experience., and not make the user scroll down every time it changes tab.
Is it possible to fix that with a snippet or code?
Thanks.
<?php echo get_avatar( get_the_author_meta( 'ID' ), 64 ); ?>
It is working the way I want it to, however, I noticed that when I click the load more posts button, the new loaded posts returns the gravatar default profile photo instead. Did I do something wrong or does it have something to do with the AJAX?
(Sorry, I am still learning and maybe shouldn’t touch too much stuff but I would love to know what might have caused it.)
]]>Thank for helping
]]>I want to put a post tag in the red frame of the image.
image
Any help will be appreciated.
]]>