This topic has 5 replies, 3 voices, and was last updated 10 years by cutestbooty.
-
Author
-
September 30, 2014 at 00:15 #30155macamacaronParticipant
Hello SeventhQueen,
I have a question. How to redirect after log-in directly to members page – with all the photos thumbnails ?
And what should I do to stop the redirect to landing page, when I click the logo on the left (after logged in).
Thank you very much.
Francis
October 8, 2014 at 15:44 #31082CatalinModeratorHello,
For redirecting users to a certain page after login, you can use this plugin:
https://wordpress.org/plugins/peters-login-redirect/
and for the second question, the file you need to modify is:
..\wp-content\themes\sweetdate\header.php
the lines where the link to homepage is added are those:
COPY CODE<?php if(is_user_logged_in() ) : ?> <h1 id="logo"><?php bloginfo('name'); ?> <img />" width="294" height="108" alt="<?php bloginfo('name'); ?>"> </h1> <?php else : ?> <h1 id="logo"><?php bloginfo('name'); ?> <a>"><img />" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> </h1> <?php endif; ?>
you will need to copy the header.php file to your child theme folder and modify the code accordingly… with what other option you want to change the logo behavior to?
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 8, 2014 at 15:49 #31083macamacaronParticipantOctober 28, 2014 at 16:30 #33326cutestbootyParticipantHi Caitlin,
I’ve tried using Peter’s Redirect on the Sweetdate child theme, but it’s not working.
I created a test account on my site but it doesn’t redirect to the user’s profile page, unless I create a user specific rule in Peter’s Redirect.
When I try specifying the class rule for subscribers ( [variable]username[/variable] ) it doesn’t work.
Any idea on what I might be doing wrong?
Cheers
October 28, 2014 at 18:33 #33347cutestbootyParticipantJust to add to my previous post – it looks like Paid Memberships Pro might be the problem. After logging in, users are taken to this:
http://website.com/membership-account/membership-levels/
when I want them to be taken to this instead:
http://website.com/members/membername/
Any ideas on how to fix this?
NOTE: I’ve also tried inserting the code into sweetdate-child/functions.php as you’ve suggested in other post. It also didn’t work.
Cheers
November 3, 2014 at 20:29 #33880cutestbootyParticipantTo anyone else interested, I disabled Paid Memberships Pro and inserted the code I found here:
https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-login
If anyone knows how to fix this issue with Paid Memberships Pro activated, I’d love to hear the answer!
-
AuthorPosts
The topic ‘After Log-in redirect to Member's page’ is closed to new replies.