Want to add shortcode after Login Button in Modal

Posted in: Newspaper
Post count: 70

Hello Tagdiv,

I hope this message finds you well. I am reaching out to inquire if there might be a way to incorporate the following shortcode “[login_me_now_google_button]” right after the Login button within the modal. For your convenience, I have attached a reference image to provide clarity regarding my request.

Would it be possible for you to provide guidance on any code that I could integrate into the child function.php? My goal is to have the mentioned shortcode appear after the login button.

Thank you kindly for your assistance.

Best regards,
Hindistack

Post count: 27744

Hello,

You can try to create your login page and add your shortcode, you can use menu login from tagdiv Opt-in builder -> https://forum.tagdiv.com/shortcodes/
You can also use the menu login.
Here are all the files that are related to login and register and can be used with our theme (depends on the templates and options you choose):
– wp-content/plugins/td-composer/legacy/Newspaper/parts/register.php
– wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php
– wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php
– wp-content/plugins/td-cloud-library/parts/tdb-comments.php

Thank you!

Post count: 70

Actually, I need it in the modal, because when I click on the ‘Log in to leave a comment’ link within the comment box, the modal appears. Is there any way to add a shortcode to the modal using a hook or change the link of ‘Log in to leave a comment’? I have also provided a video for your reference.
Video – https://drive.google.com/file/d/1eQFYlvIaeV2HjLO20F8hnwOeDXD2dBBt/view?usp=sharing

Thanks

Post count: 27744

Hi,

Do you want to have a Facebook login? If yes, this is implemented in the theme https://forum.tagdiv.com/how-to-generate-facebook-app-id/ -> https://i.imgur.com/0G5Wztp.png
If there is another shortcode, you can’t simply add it because it is necessary to do custom customization to work well.

Thank you!

Post count: 70

But Anamaria, I only want the Hook code that is used to insert anything anywhere; I want to insert the element after the login button.

Post count: 27744

Hi,

You can create your own modal popup to add the shortcode after login button https://forum.tagdiv.com/modal-popup/

Thank you!

Post count: 70

But how can I add a modal to my Comment Box Link? – https://drive.google.com/file/d/1PnC94Bzn_G7qfDzf9fWdpgoMQ_g_vh29/view?usp=sharing

Post count: 21065

Hello!

In the next update, you can have a modal in a modal. We will have an update after a few weeks.

Stay tuned!

Post count: 70

Hello Bettina, a recent update has been released. Is the modal in a modal feature now available? You mentioned that this feature would arrive in the next update.

Post count: 21065

Hello!

Yes. An example can be seen in the newest demo of Korean News Insight: https://app.screencast.com/Z3e9lABauEUVf.
You should specify in the element’s settings (in the tagdiv composer) which modal should be closed.

Thank you!

Post count: 70

Bettina, I am asking about this.

Post count: 70

My question is: How can I change the default login/signup modal of the newspaper theme, which is used in the comment section? I want to add a Social Login shortcode below the login button, as I discussed earlier in this same forum.

Post count: 21065

Hello!

The feature you need is the same as the one created in this demo because the forget password will work in the same modal. My colleague replied to you here: https://prnt.sc/q5MnFqW6CVP-

Thank you!

Post count: 70

Hello,

I am trying in adding a shortcode of “Nextend Social Login” just below the login button. – https://i.ibb.co/yPMVypJ/login-modal.png
which is enabling by this option – https://i.ibb.co/gzmMLBX/modal-edit.png

When a user clicks on the “Login to leave a comment” link, it currently triggers the default “Signin/Join” modal. Is there a way to incorporate a custom modal for this comment link? Here is the link where i want to add the Modal- https://drive.google.com/file/d/1PnC94Bzn_G7qfDzf9fWdpgoMQ_g_vh29/view?pli=1

Thank you for your assistance and consideration.

Post count: 21065

Hello!

Oh, ok. This is too complicated to achieve and will require custom work, which is not covered by the support team.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/.

Thank you for understanding!

Post count: 70

Hello,
Is there any way to insert the shortcode via a WP hook? I believe Newspaper theme should provide a hook for the login form to insert the shortcode below the login form.

Thank you

Post count: 21065

Hello!

Unfortunately, no.
We will take into consideration your query!

Thank you for your feedback!

Viewing 17 posts - 1 through 17 (of 17 total)
You must be logged in to reply to this topic.