How to set the redirection after the customer login by using the Jigoshop login widget?
Q: How to set the redirect page after the customer login? I am using the widget Jigoshop Login. For example, I want to just redirect to the “Home” Page ( http://www.xyz.com) which is set up in Setting > Reading .
A: You can use the filter
jigoshop_widget_login_redirect for that, something
like this:
add_filter('jigoshop_widget_login_redirect', 'mytheme_widget_login_redirect');
function mytheme_widget_login_redirect($redirect) {
$redirect = home_url();
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings – in case of problems on Jigoshop web site
-
FAQ – Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ – Jigoshop extensions user questions
-
API
-
Screencasts