Hello team,
Is the setting mentioned in the above screenshot is useless in the desktop version of the site if we use the NewsPaper Default Pro cloud template?
Asking because turning it off doesn’t remove the Sign in/Join widget from desktop, it only removes the widget from mobile and not from desktop:
Mobile: https://prnt.sc/ugwezi
Desktop: https://prnt.sc/ugwepf
Thanks!
Hello !
Please note that all the PRO Demos and Cloud Library templates are fully editable using tagDiv Composer. By opening Composer on your page you will be able to simply right-click and remove the unwanted elements: https://www.screencast.com/t/k6LavjV6DXki
Thank you !
Hi,
I don’t want popup login, so can you please tell me how can i replace this “Sign in / Register” https://prnt.sc/ui5jmk text with a link where i can redirect user on custom login page instead of opening a login popup when clicked?
Thanks!
-
This reply was modified 5 years by
TechieBraj.
Hello !
You can simply achieve that by removing the sign in option and replace it with a button as you can see here: https://www.screencast.com/t/5pOOujYaWZ
Thank you !
Hello,
I can replace the sign-in option with a button but there is a problem adding a sign-in link in button:-
Since it will be a button so the button will still show “Sign in/Register” link even after logging in.
When the user will be logged in then there should be a LOGOUT link with the user name like it is currently. I want it to show like this after logging in: https://prnt.sc/uiqtej
Please let me know how can i achieve this with a button or tell me if there is any other better method to achieve this?
Thank you!
Hi TechieBraj,
If you want to use the “Sign in/Register” button, but you do not want the popup you can edit the theme files, is not recommended but you can achieve what you need ->wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_user.php her you need to replace the link with your link and remove a class -> https://i.imgur.com/Yt8b3iC.png
The only problem is that you need to set those changes back after the theme update.
Hope this will help you!
Thank you!
Hello,
Any way to replace these code permanently so that even after updating it will not be lost? e.g. Adding code in Child theme?
I did this and cleared the cache: https://prnt.sc/ujel2j
These code change doesn’t affects “Sign in/Register” popup in mobile. The popup is still coming in mobile: https://prnt.sc/ujelus
Thanks!
Hi,
For mobile version you need to edit this file -> wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php
Unfortunately the file for desktop version is a cloud element and it can not be set in a child theme, it must be set back after theme update, but the file for mobile version is a standard one and it can be set in child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you for your understanding!
Hello,
This important point is written in that blog article:-
Only theme files under this folder i.e. wp-content\plugins\td-standard-pack\Newspaper can be changed using the child theme:- https://prnt.sc/ujk85e
And “td-composer” is a plugin file, so do you think we can override plugin files with a child theme? If yes then how? A sample child theme is already installed which was provided in the theme files. Suppose I have to add this place in the child theme: wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php then how can we override this place in child theme?
Also, I went to this code file here: https://prnt.sc/ujkae5 but i don’t know what to edit here to remove popup login and add a custom Login/Register link. Can you please guide me?
Thank you!
-
This reply was modified 5 years by
TechieBraj.
-
This reply was modified 5 years by
TechieBraj.
-
This reply was modified 5 years by
TechieBraj.
-
This reply was modified 5 years by
TechieBraj.
Hi TechieBraj, I think that you do not understand, the tagDiv Standard Pack and tagDiv Composer are both theme plugins and both of theme have the same root for the theme (those plugins have inside them a theme folder that can be overwrite in child theme, when were made these changes only the standard plugin has the theme folder but now tagDiv Composer has too) therefore the files from wp-content/plugins/td-composer/legacy/Newspaper and wp-content/plugins/td-standard-pack/Newspaper -> https://i.imgur.com/lOCdZnT.png
For example if you want to set in child theme the default post style, you just need to copy those two files wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php and single.php in wp-content/themes/Newspaper-child/loop-single.php or if is a them style need to be copy from wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-1.php and single_template_1.php in wp-content/themes/Newspaper-child/parts/single
Hope this will help you better!
Hello,
Thanks for the detailed explanation, i will try and let you know the update 🙂
I think you forgot to reply my last query:-
“I went to this code file here: https://prnt.sc/ujkae5 but i don’t know what to edit here to remove popup login and add a custom Login/Register link. Can you please guide me?”
Thanks!
Hi,
You gave me a different answer for the same question (:
My question was:- https://prnt.sc/ulpxrb
Your previous answer was: https://prnt.sc/ulpvfg
Now you are saying this: https://prnt.sc/ulpvnk
We can close this topic if you can clearly tell me in which code file I need to exactly customize and what to remove/add so that I could remove popup login in mobile and add a custom login link?
Thank you!
Hi,
I think that I provide some confusion with above answers, please let me explain again:
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php is responsible for the login/register content when the login button is selected.
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php is responsible for the login/register using the responsive version for theme for mobile devices.
This file wp-content/plugins/td-composer/mobile/parts/login.php is responsible for the login/register using the mobile theme plugin layout.
And this file wp-content/plugins/td-composer/mobile/parts/register.phpis responsible with the mobile theme plugin to display the content for login/resister
If you want to change the link from the sign in button you need to edit this file wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php (because you are using the responsive version), what you need to do is to replace the id
What you need to do is to replace the id=”login-link-mob” with href=”your-url” https://i.imgur.com/QiPAxSi.png -> https://i.imgur.com/mlnxJey.png
Hope this will help you!
Thank you!