Skip Navigation

[Resolved] The “my account” page is shown instead of the login form

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 0 reply, has 1 voice.

Last updated by Minesh 4 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2800446

Tell us what you are trying to do?

For some time now, instead of the custom login form, the "my account" page hidden link is being shown to Guests (users not logged in). I created the staging website, today, disabled all plugins except the toolset plugins and the "coming soon" plugin, and switched the theme from "Spectra One" to "2025".
The problem persists.

Is there any documentation that you are following?
I re-followed the instructions on https://toolset.com/lesson-placement/lesson-placements-1622969-1622351/ on how to create a custom login-form and set the login form to appear only for visitors.
Still no change.

Please help.

What is the link to your site?
hidden link

#2800550

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details and tell me what Access post group you created?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2800557

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The issue was:

Content Templates modify the content when called from the WordPress’ built-in the_content function. Some themes do not use the_content function, but define their own function. In this case, Content Templates are not applied to selected posts on the front-end.

To solve this, you can enter the name of the function your theme uses on the Toolset->Settings page, under the Front-end Content tab. You can find the appropriate field in Theme support for Content Templates section.

I've added the following function name "render_block_core_post_content" to it and now I can see the login form on frontend as guest user.

More info:
- https://toolset.com/documentation/programmer-reference/theme-support-for-content-templates/

#2800571
Bildschirmfoto 2025-03-13 um 09.18.10.png

Thank you, Minesh, for solving this problem!

There is a second, i think related, problem:

Two other content templates, which are for editing "locations" either as an "owner" or as an "admin" are also not shown.

I assigned one of the "locations" to your Admin User, so you can see what I mean : hidden link

Near the top of the page you will find two links , which are displayed conditionally, according to the visitor's role:
( see uploaded image) "Bearbeiten" means "edit", and is for location "owners", and the second one is "edit as admin".

The two editing-forms, which are not shown, are
hidden link -- for "owners"
hidden link -- for "admins"

I had a look at the article you mentioned above: https://toolset.com/documentation/programmer-reference/theme-support-for-content-templates/

I tried to find out the "the call function name that Views displays" to copy it into the settings, but I don't get it: Where does "Views display" anything?

Please could you help me to resolve this problem, too.

#2800584

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

No, that's not the same issue.

I've split the ticket with your addon issues and we will continue working with the following split ticket.
=> https://toolset.com/forums/topic/split-the-my-account-page-is-shown-instead-of-the-login-form-edit-form-not-working/

You're welcome to mark resolve this ticket.