-
Author
-
June 4, 2015 at 19:54 #61039Admin123Participant
Hi,
I am having trouble when i log out from Kleo – it stays on the same page rather than going back to the front page, to make the user to relog again.
So it is not redirecting to the front page, instead, it stays on the same page. Could you assist please?
I have used https://wordpress.org/plugins/peters-login-redirect/ and https://wordpress.org/plugins/redirection/ – it is not doing anything. Could you advise??
Thanks
Sam
June 5, 2015 at 17:35 #61156RaduModeratorHello,
Add this snippet to your kleo-child/functions.php
COPY CODEadd_action('wp_logout','go_home'); function go_home(){ wp_redirect( home_url() ); exit(); }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 8, 2015 at 11:19 #61497Admin123ParticipantThanks Buddy!
You’re a life saver.
You made a tremendous theme by the way, we’ll definitely shout about this theme, and thanks for making life much easy!
By the way i wanted to ask something – In members page or forum page – there is a search specifically for this post of this particular page.
How can i use this search again to a different page and when do a search, it searches only for that page not for a general search?
I am doing a staff and location directory, whiles i have these in forum and members is perfect, but is there a way where i can have the same search on different pages?
Attachments:
You must be logged in to view attached files.June 8, 2015 at 14:32 #61505RaduModeratorHi,
You can use this shortcode on any page you want, also you will find and configure this module in visual composer it’s named Search Form
COPY CODE[kleo_search_form form_style="default" type="both" context="" placeholder="Search..."]
Best Regards
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.