-
Author
-
February 26, 2015 at 06:18 #47676wesmwardParticipant
I’m wanting to create a landing page for my site; a page that introduces the site and has a login/register link in the nav.
I’ve gotten that far, but my issue is that after the user logs in, if they click on the logo, they are taken back to the landing page.
How can I
a) Make the link for the logo direct to a different page other than the front static page
— or —
b) Appoint the landing page as the first page that a logged-out user is taken too?Thanks!
– Wes
February 26, 2015 at 14:54 #47750LauraModeratorHello wesmward, the best option i suggest is to make the landing page the hompeage of your site, you can do this by going to your wordpress dashboard and in Settings > Reading you can se as static page your landing page.
Let me know 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 26, 2015 at 23:03 #47879wesmwardParticipantI know I can do that, but then ince they are logged in- if they click on the logo, they are taken back to the landing page. I don’t want that, I want them to be taken back to the Activity feed.
February 28, 2015 at 23:30 #48172AndreiModeratorHi Mate,
Here is a function which helps you redirect people away from the front page if they are logged in.
Add it to your functions.php file. Hope it helps.COPY CODEfunction redirect_front_page_if_logged_in(){ if(is_user_logged_in() && is_front_page()){ wp_redirect('activity'); // change to whatever page slug you want to redirect your users } } add_action('template_redirect', 'redirect_front_page_if_logged_in');
Cheers
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 ‘KLEO’ is closed to new topics and replies.