@ananddevops, if you always direct the users, who type the site url i.e. https://mystoredomain, then all of them will be directed to the dashboard.
So, what you can do, is create a menu via Appearance >> Menus and add vendor dashboard menu.
Also, as soon as a vendor logged into a site, they will be automatically directed to the dashboard, this is our default flow.
Now, if you want to remove the home page link, from the dashboard, you need to override the “navigation.php” template file and remove the redirect link.
@dualcube
if you always direct the users, who type the site url i.e. https://mystoredomain, then all of them will be directed to the dashboard.
Thats exactly what I intend to in my scenario.
Will try out the navigation.php changes and revert incase of issues.
Thanks
@dualcube
As for the first part of the query, is there a way to do it from the WP admin/backend?
Thanks
@ananddevops, You may set the default url for the Home page, i.e. users will be directed there by default.
This document might help you out further – https://www.wpbeginner.com/glossary/static-front-page/
@dualcube
Thank you for the suggestion. Will try that and work on the rest and post.
Thanks
@dualcube
So your suggestion worked very well. Have been looking for a simpler way to do this for a long time. Thanks much.
Now corresponding to the same, I wanted to ask, that I have changed the Home Page to Vendor Dashboard. While setting it says – Static Page.
But the page is not really static, it has to fetch data from the server to help login. Is it just the login form which is static, is why it works?
@ananddevops, a vendor needs to be logged in, to access the dashboard.
That is why, if a user is non-logged in and accessing the dashboard page, it will show the option of “Login” page.
Let us know if you have any further query.
Makes sense. Much apprecaite the guidance.
Thanks
Hello,
To run some tests, I made the Homepage setting to basic. Changed the theme from Storefront Child to Storefront and Deactivated the WCMP plugin.
When I checked the HomePage this is what showed.
I didn’t make any changes, simply tried to access a link on this HomePage from the right bar. Then I reconfigured back the settings above.
Most importantly this one.
But now the sidebar on the homepage stayed.
Really not sure what might have set that off.
Any clue/suggestions?
Thanks
Just to provide additional info, it seems some WooComm sidebar got activated during the changeover, not sure which one. Here is the detail for the same
html body.home.page-template-default.page.page-id-6.custom-background.wp-custom-logo.woocommerce-js.right-sidebar.woocommerce-active div#page.hfeed.site div#content.site-content div.col-full div#secondary.widget-area
Thanks
Also noticed that I can remove the sidebar elements individually – although have no clue what might have introduced it in the first place π
remove sidebar elements
But is that advisable?
@ananddevops, switching theme can add the sidebar as per each theme’s set up. So, when you switched the theme, it may add the sidebar.
Removed the showing widgets assuming this was introduced these were introduced during the changeover.
Thanks