Home › Forums › Jevelin Theme › Sugestion
Home › Forums › Jevelin Theme › Sugestion
Hello again!
This theme is awesome! I love it.
I have a suggestion:
you could have in the header a logout button if user is logged.
I achieve that with this in helpers.php, but i am sure you can do it better:
if ( ! function_exists( 'jevelin_nav_wrap_logout' ) ) :
function jevelin_nav_wrap_logout() {
if ( is_user_logged_in('login') ) :
$val = esc_html__( 'Sair', 'jevelin' );
else :
//
endif;
return '‘; } endif;
Than i had $wrap .= jevelin_nav_wrap_logout(); to the header options.
The pre is messing up the code above, i hope you understand something.
When i finish my custom theme i am going to share here in forum
Thank you!
Hi @msjcaetano,
I hope you are well today and thank you for your suggestion.
We will consider this in the future version of theme development.
If you want to add this link in the header menu then you can also do this by using the following solutions.
http://wordpress.stackexchange.com/a/156261/14347
https://wordpress.org/plugins/baw-login-logout-menu/
Best regards,
Shufflehound team
Ok Shufflehound team!
In that cases the Button is replaced, i think that the best way is to have the one that you already have and put one for logout at the right side.
I already did that with the code in the previous message but Thank You!
Best regards,
Marcos Caetano
You are most welcome here 🙂
Sure we will do consider it.
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.