We are using Directories Pro to list businesses on our site as well as listing articles. Via Directories Pro we have built our own Login/Registration page (/login) and a member dashboard (/dashboard). We want to use our login/reg page as the default “Sign in / Join” link instead of the #login-form link, and our own dashboard page instead of the “author/name” link once logged in. We could not find a way to do this within the Newspaper theme settings. We are fine hard-coding this or setting the values in the db. I assume it can be hard-coded. I did a quick look though some of the template files, but was unable to find the correct file(s) to edit. Can someone point me in the right direction? Thanks
Hi,
Something like that will be possible in the future. The request to be able to set a custom link for the sign in/join is added on the list.
Maybe instead of modifying the top bar login button, it would be easier to disable it. Then add a custom link in the top menu, leading to a chosen URL
– http://prntscr.com/nyca5q – http://prntscr.com/nycbhi
Thanks
Thanks for replying Simon. I agree it would be easier to remove and add a custom link, but then we lose the built-in ability to have the “sign in / join” link change to the subscribers login name with a new link to the user page. Plus I believe we would lose the Logout feature as well. I really don’t mind it being hard to modify in the code for now. It’s more important to my client and me that it works best for the new subscribers (site launching very soon). The way you guys have it setup is great. I don’t need to be shown how necessarily, just more where to look. I did some review of some of the theme files and was not able to easily find it. I was hoping for heads up on where those values are stored, what php files or if in the database. I assume they are somewhere to edit, not compiled into something. Thank you.
The file is in the composer plugin now, most of the theme files have been moved there after the recent updates. This modification could have been made in a child theme in the past, but now the login button link is here – http://prntscr.com/nyqald
So you would have to modify it there directly, after each update. Sorry for this inconvenience.
From the cpanel file manager and plugin editor via WordPress I am not able to see a Legacy folder https://prntscr.com/nyw4qd I’m going to setup clients ftp to try to access that way. Thanks
Depends on the theme version, the legacy folder was added in the 9.7 update. That is when most of the theme files were moved in it, in the composer. Before these changes the file was in the theme – https://forum.tagdiv.com/topic/change-the-links-that-sign-in-and-join-refer-to/
If you use an older theme than 9.7 the file is still in the theme, after the update the file is in the composer. In the latest version it should be as in the screenshot I provided previously.